Config_PropManager::registerProp("Shortcuts", "add_parameter_shortcut",
"Add parameter in parameters manager dialog",
Config_Prop::Shortcut, "Ctrl+A");
+
+ Config_PropManager::registerProp("Windows", "use_hide_faces_panel", "Use HideFaces panel in operations",
+ Config_Prop::Boolean, "false");
}
//******************************************************
#endif
myErrorMgr->setPropertyPanel(myPropertyPanel);
- theOperation->setHideFacesVisible(myFacesPanel->isVisible());
- if (aFeatureInfo.get() && aFeatureInfo->isHideFacesPanel() && !myFacesPanel->isVisible())
- myFacesPanel->show();
+ if (Config_PropManager::boolean("Windows", "use_hide_faces_panel")) {
+ theOperation->setHideFacesVisible(myFacesPanel->isVisible());
+ if (aFeatureInfo.get() && aFeatureInfo->isHideFacesPanel() && !myFacesPanel->isVisible())
+ myFacesPanel->show();
+ }
showPanel(myPropertyPanel);
}
}
activateObjectsSelection(anObjects);
- if (!theOperation->isHideFacesVisible())
- myFacesPanel->hide();
+ if (Config_PropManager::boolean("Windows", "use_hide_faces_panel")) {
+ if (!theOperation->isHideFacesVisible())
+ myFacesPanel->hide();
+ }
}
//******************************************************