Salome HOME
Delete key regression corrections: in previous implementation sketch entities did...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelector.cpp
index c5be67919c214a1eca31ed60a5e52eb68b83ad39..0f0b2c15a8eda3efe5a491fa3fa50df0ec93a98b 100755 (executable)
@@ -150,6 +150,17 @@ bool ModuleBase_WidgetSelector::isValidSelectionCustom(const ModuleBase_ViewerPr
   return aValid;
 }
 
+//********************************************************************
+bool ModuleBase_WidgetSelector::setSelectionCustom(const ModuleBase_ViewerPrs& thePrs)
+{
+  ObjectPtr anObject;
+  GeomShapePtr aShape;
+  getGeomSelection(thePrs, anObject, aShape);
+
+  setObject(anObject, aShape);
+  return true;
+}
+
 //********************************************************************
 void ModuleBase_WidgetSelector::deactivate()
 {