]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Fillet.cpp
Salome HOME
Initial implementation of support of any level of hierarchy in Result Bodies.
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Fillet.cpp
index 30f922aa8be2b236e159f6a3eefbe698a2f7cfbb..eab8b03ca8c4721d6ae00316736b76c321fb6076 100644 (file)
@@ -25,7 +25,6 @@
 #include <ModelAPI_AttributeSelectionList.h>
 #include <ModelAPI_AttributeString.h>
 #include <ModelAPI_ResultBody.h>
-#include <ModelAPI_ResultCompSolid.h>
 #include <ModelAPI_Session.h>
 #include <ModelAPI_Tools.h>
 #include <ModelAPI_Validator.h>
@@ -113,7 +112,7 @@ void FeaturesPlugin_Fillet::execute()
       return;
 
     ResultPtr aContext = anObjectAttr->context();
-    ResultCompSolidPtr aCtxOwner = ModelAPI_Tools::compSolidOwner(aContext);
+    ResultBodyPtr aCtxOwner = ModelAPI_Tools::bodyOwner(aContext);
     GeomShapePtr aParent = aCtxOwner ? aCtxOwner->shape() : aContext->shape();
     if (!aParent)
       return;