Salome HOME
A fix for the next case:
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index c2ca8a4d2d863cefb118caf7f7dd05e92a5cb639..2ce6f152e509dc63d733a5228c3e3a327f96f137 100644 (file)
@@ -226,7 +226,7 @@ bool PartSet_WidgetSketchLabel::setSelectionCustom(const ModuleBase_ViewerPrs& t
   }
   else if (!aShape.IsNull()) {
     aDir = setSketchPlane(aShape);
-    isOwnerSet = aDir;
+    isOwnerSet = aDir.get();
   }
   return isOwnerSet;
 }