]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Bug #287: Lost synchronisation between OCC viewer and Object browser.
authormzn <mzn@opencascade.com>
Thu, 26 Dec 2013 09:51:27 +0000 (09:51 +0000)
committermzn <mzn@opencascade.com>
Thu, 26 Dec 2013 09:51:27 +0000 (09:51 +0000)
Child 3D objects (HYDROData_DummyObject3D) are no longer references.

src/HYDROGUI/HYDROGUI_DataModel.cxx

index 16feb2099ee733b3b84775f89489f5994fec2f02..837548ac6a0037517516ce37da92c52f81ce9f02 100644 (file)
@@ -753,7 +753,7 @@ void HYDROGUI_DataModel::buildObjectTree( SUIT_DataObject* theParent,
 
     Handle(HYDROData_DummyObject3D) anObject3D = aGeomObj->GetObject3D();
     if ( !anObject3D.IsNull() )
-      createObject( aGuiObj, anObject3D, aGuiObj->entry(), false );
+      createObject( aGuiObj, anObject3D, "", false );
 
 #ifdef DEB_GROUPS
     HYDROData_SequenceOfObjects anObjGroups = aGeomObj->GetGroups();