]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Tools.cpp
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ModelAPI / ModelAPI_Tools.cpp
index bc086953b28a56926ceb5172e9c138f84331a8cc..8f91a914a817017d52e46bd453eba7a8627e1d47 100644 (file)
@@ -11,7 +11,7 @@ namespace ModelAPI_Tools {
 
   std::shared_ptr<GeomAPI_Shape> shape(const ResultPtr& theResult)
   {
-
+/*
     ResultBodyPtr aBody = std::dynamic_pointer_cast<ModelAPI_ResultBody>(theResult);
     if (aBody)
       return aBody->shape();
@@ -25,5 +25,7 @@ namespace ModelAPI_Tools {
     if (aGroup)
       return aGroup->shape();
     return std::shared_ptr<GeomAPI_Shape>();
+    */
+    return theResult->shape();
   }
 }