Salome HOME
For improvements 20019 and 20324.
[modules/geom.git] / src / GEOM_I_Superv / GEOM_Superv_i.cc
index a5e8efb38c80547e1a38aee3f7f8124791a85bcb..f749b86412baffd9a17fde301d1b2824dbb8ce44 100644 (file)
@@ -473,6 +473,20 @@ SALOMEDS::SObject_ptr GEOM_Superv_i::PublishInStudy(SALOMEDS::Study_ptr theStudy
   return myGeomEngine->PublishInStudy(theStudy, theSObject, theObject, theName);
 }
 
+//============================================================================
+// function : PublishNamedShapesInStudy
+// purpose  : 
+//============================================================================
+GEOM::ListOfGO*
+GEOM_Superv_i::PublishNamedShapesInStudy(SALOMEDS::Study_ptr theStudy,
+                                        //SALOMEDS::SObject_ptr theSObject,
+                                        CORBA::Object_ptr theObject)
+{
+  if (CORBA::is_nil(myGeomEngine))
+    setGeomEngine();
+  return myGeomEngine->PublishNamedShapesInStudy(theStudy, theObject);
+}
+
 //============================================================================
 // function : CanCopy()
 // purpose  :