Salome HOME
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
authoreap <eap@opencascade.com>
Mon, 22 Jul 2013 14:27:40 +0000 (14:27 +0000)
committereap <eap@opencascade.com>
Mon, 22 Jul 2013 14:27:40 +0000 (14:27 +0000)
commit91084ee58a53b97e38d910bc80cc3a813b177cb7
tree070be8a3a47d6821570ff2dc2b6b66b47846eafb
parente74e528833e0da6b1e2c8ee818434b760d003031
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
src/SMESHGUI/SMESHGUI.cxx
src/SMESHGUI/SMESHGUI_BuildCompoundDlg.cxx
src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
src/SMESHGUI/SMESHGUI_MeshOp.cxx
src/SMESHGUI/SMESHGUI_RotationDlg.cxx
src/SMESHGUI/SMESHGUI_ScaleDlg.cxx
src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx