"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");
+ Config_PropManager::registerProp("Windows", "use_hide_faces_panel",
+ "Use HideFaces panel in operations", Config_Prop::Boolean, "false");
}
//******************************************************
bool PartSet_Module::canApplyAction(const ObjectPtr& theObject, const QString& theActionId) const
{
bool aValid = true;
- if (theActionId == "MOVE_CMD") {
+ if (theActionId == "MOVE_CMD" || theActionId == "MOVE_SPLIT_CMD") {
FeaturePtr aFeature = ModelAPI_Feature::feature(theObject);
if (aFeature) {
ResultPtr aResult = ModuleBase_Tools::firstResult(aFeature);
void PartSet_Module::customizePresentation(const ObjectPtr& theObject,
const AISObjectPtr& thePrs) const
{
- if (mySketchMgr->isSketchStarted()) {
+ if (mySketchMgr->isObjectOfSketch(theObject)) {
mySketchMgr->customizeSketchPresentation(theObject, thePrs);
}
else {