]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To make it compilabel
authorapo <apo@opencascade.com>
Thu, 29 Dec 2005 15:42:55 +0000 (15:42 +0000)
committerapo <apo@opencascade.com>
Thu, 29 Dec 2005 15:42:55 +0000 (15:42 +0000)
src/SalomeApp/SalomeApp_Study.cxx

index 8f22b42af4fd547d18fb20c0df34b2e9d5a82069..ff766e681ee53aedc5bf45b45f91f690808e42ac 100644 (file)
@@ -396,7 +396,7 @@ void SalomeApp_Study::addComponent(const CAM_DataModel* dm)
       }
       // Set default engine IOR
       aBuilder->DefineComponentInstance(aComp, SalomeApp_Application::defaultEngineIOR().latin1());
-      SalomeApp_DataModel::synchronize( aComp, this );
+      SalomeApp_DataModel::BuildTree( aComp, root(), this, /*skipExisitng=*/true );
     }
   }
 }