mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-15 21:21:22 +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()
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user