]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_OperationFeatureEdit.cpp
Salome HOME
GeomAPI_IPresentation in terface created
[modules/shaper.git] / src / PartSet / PartSet_OperationFeatureEdit.cpp
index f3b27594e6362b6cc24dc16c30bd6fac8a940657..5b107d34dcba5b93336278c02222f8f04c450558 100644 (file)
@@ -73,11 +73,11 @@ void PartSet_OperationFeatureEdit::mousePressed(QMouseEvent* theEvent, Handle(V3
                                              const std::list<ModuleBase_ViewerPrs>& theSelected,
                                              const std::list<ModuleBase_ViewerPrs>& theHighlighted)
 {
-  ResultPtr aFeature;
+  ObjectPtr aFeature;
   if (!theHighlighted.empty())
-    aFeature = theHighlighted.front().result();
+    aFeature = theHighlighted.front().object();
   if (!aFeature && !theSelected.empty()) // changed for a constrain
-    aFeature = theSelected.front().result();
+    aFeature = theSelected.front().object();
   // TODO
   /*if (!aFeature || aFeature != feature())
   {