mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 17:50:35 +05:00
WIP
This commit is contained in:
parent
294f92ee45
commit
f1840849c5
@ -65,6 +65,7 @@
|
||||
|
||||
#include <SALOMEDS_Tool.hxx>
|
||||
#include <SALOMEDS_wrap.hxx>
|
||||
#include "SALOMEDS_Study_i.hxx"
|
||||
#include <Basics_DirUtils.hxx>
|
||||
#include <Basics_Utils.hxx>
|
||||
|
||||
@ -2174,12 +2175,7 @@ void GEOM_Gen_i::register_name(char * name)
|
||||
//============================================================================
|
||||
SALOMEDS::Study_var GEOM_Gen_i::getStudyServant()
|
||||
{
|
||||
static SALOMEDS::Study_var aStudy;
|
||||
if(CORBA::is_nil(aStudy)){
|
||||
CORBA::Object_ptr anObject = name_service->Resolve("/Study");
|
||||
aStudy = SALOMEDS::Study::_narrow(anObject);
|
||||
}
|
||||
return aStudy;
|
||||
return SALOMEDS::Study::_duplicate(KERNEL::getStudyServantSA());
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
@ -860,7 +860,7 @@ class geomBuilder(GEOM._objref_GEOM_Gen):
|
||||
self.GroupOp = self.GetIGroupOperations ()
|
||||
self.FieldOp = self.GetIFieldOperations ()
|
||||
|
||||
notebook.myStudy = salome.myStudy
|
||||
notebook.myStudy = self.myStudy
|
||||
pass
|
||||
|
||||
def GetPluginOperations(self, libraryName):
|
||||
|
Loading…
Reference in New Issue
Block a user