Salome HOME
WIP agy/arch2_ic0
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 3 Feb 2021 08:23:21 +0000 (09:23 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 3 Feb 2021 08:23:21 +0000 (09:23 +0100)
src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index d063d2202a8cb6e77820a4c409656607e44ee9db..1d6ad11616c6d3cb2907b3efb76fe89688595439 100644 (file)
@@ -658,7 +658,7 @@ void NETGENPlugin_Mesher::SetParameters(const NETGENPlugin_Hypothesis* hyp)
         double        val = (*it).second;
         // --
         GEOM::GEOM_Object_var aGeomObj;
-        SALOMEDS::SObject_var aSObj = SMESH_Gen_i::getStudyServant()->FindObjectID( entry.c_str() );
+        SALOMEDS::SObject_var aSObj = SMESH_Gen_i::GetSMESHGen()->getStudyServant()->FindObjectID( entry.c_str() );
         if ( !aSObj->_is_nil() ) {
           CORBA::Object_var obj = aSObj->GetObject();
           aGeomObj = GEOM::GEOM_Object::_narrow(obj);