mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 02:52:04 +05:00
Fix crash in IPAL9921 : Crash after try to display geometry object (supervisor result) after save/restore study.
This commit is contained in:
parent
57da196bbb
commit
7b8b45c0bf
@ -259,7 +259,7 @@ TCollection_AsciiString GEOM_Object::GetAuxData()
|
|||||||
bool GEOM_Object::IsMainShape()
|
bool GEOM_Object::IsMainShape()
|
||||||
{
|
{
|
||||||
Handle(GEOM_Function) aFunction = GetFunction(1);
|
Handle(GEOM_Function) aFunction = GetFunction(1);
|
||||||
if(aFunction == NULL || aFunction->GetDriverGUID() != GetSubShapeID()) return true;
|
if(aFunction.IsNull() || aFunction->GetDriverGUID() != GetSubShapeID()) return true; // mkr : IPAL9921
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user