mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-22 23:45:37 +05:00
Fix bug 18944: execution of the dumped script raises exception.
This commit is contained in:
parent
3d53394032
commit
0040988ed9
@ -114,7 +114,6 @@ GEOM_Engine::GEOM_Engine()
|
||||
|
||||
_OCAFApp = new GEOM_Application();
|
||||
_UndoLimit = 10;
|
||||
//_lastObjectTag = 0;
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -407,6 +406,8 @@ void GEOM_Engine::Close(int theDocID)
|
||||
}
|
||||
for (Standard_Integer i=1; i<=aSeq.Length(); i++) _objects.UnBind(aSeq.Value(i));
|
||||
|
||||
_lastCleared.Nullify();
|
||||
|
||||
_mapIDDocument.UnBind(theDocID);
|
||||
_OCAFApp->Close(aDoc);
|
||||
aDoc.Nullify();
|
||||
|
Loading…
Reference in New Issue
Block a user