]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_OperationSketch.cpp
Salome HOME
GeomAPI_IPresentation in terface created
[modules/shaper.git] / src / PartSet / PartSet_OperationSketch.cpp
index c3391efb91641d8bd248b15d0b24e16ba7f12c45..64ea866aad49339dfd8627eb017214612e16e312 100644 (file)
@@ -91,7 +91,7 @@ void PartSet_OperationSketch::mousePressed(QMouseEvent* theEvent, Handle_V3d_Vie
       return;
 
     if (theHighlighted.size() == 1) {
-      ResultPtr aFeature = theHighlighted.front().result();
+      ObjectPtr aFeature = theHighlighted.front().object();
       if (aFeature) {
         std::string anOperationType = PartSet_OperationFeatureEdit::Type();
         if (theSelected.size() > 1)
@@ -117,7 +117,7 @@ void PartSet_OperationSketch::mouseReleased(QMouseEvent* theEvent, Handle_V3d_Vi
     /// It is empty and we have to use the process mouse release to start edition operation
     /// for these objects
     if (theSelected.size() == 1) {
-      ResultPtr aFeature = theSelected.front().result();
+      ObjectPtr aFeature = theSelected.front().object();
       // TODO
       //if (aFeature)
       //  restartOperation(PartSet_OperationFeatureEdit::Type(), aFeature);