mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study
This commit is contained in:
parent
a258642774
commit
ee74379f54
@ -370,7 +370,7 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
|
bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
|
||||||
{
|
{
|
||||||
if (!theObject) return false;
|
if (theObject.IsNull()) return false;
|
||||||
|
|
||||||
int aDocID = theObject->GetDocID();
|
int aDocID = theObject->GetDocID();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user