return true;
}
-bool PartSet_WidgetSketchCreator::storeValueCustom() const
+bool PartSet_WidgetSketchCreator::storeValueCustom()
{
return true;
}
if (theSelectionControl) {
bool aBodyIsVisualized = myPreviewPlanes->hasVisualizedBodies(myWorkshop);
- if (!aBodyIsVisualized) {
+ bool aSketchIsVisualized = myPreviewPlanes->hasVisualizedSketch(myWorkshop);
+ if (!aBodyIsVisualized && !aSketchIsVisualized) {
// We have to select a plane before any operation
myPreviewPlanes->showPreviewPlanes(myWorkshop);
}