Salome HOME
Issue #427, 420 - crash during work through external edges.
authornds <natalia.donis@opencascade.com>
Wed, 1 Apr 2015 15:48:46 +0000 (18:48 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 1 Apr 2015 15:48:46 +0000 (18:48 +0300)
commit149dcd65a901bded64e17047cd5bf91921fa8bba
treeb47b94d82ee9bba909469c8503be808b9e0fbafc
parentba8119ee40e4a1f84df10304dd420d0b9c0a9527
Issue #427, 420 - crash during work through external edges.

It is necessary to add/remove back references during set an object to the attribute.
The external object should not be removed by widget if there is a feature, which already uses this object.
An additional check for the feature's data during analize the creation event from the model.
src/Model/Model_AttributeRefAttr.cpp
src/Model/Model_Data.cpp
src/Model/Model_Data.h
src/PartSet/PartSet_WidgetShapeSelector.cpp
src/XGUI/XGUI_Workshop.cpp