+ fixes #0001721: PartDesign Pad 'Up to face' face selection in the 3D view not working

This commit is contained in:
wmayer
2015-01-06 18:38:33 +01:00
parent fb19ea5089
commit 010fc6f307
2 changed files with 15 additions and 6 deletions

View File

@@ -228,7 +228,9 @@ void CmdPartDesignPad::activated(int iMsg)
if (support)
doCommand(Gui,"Gui.activeDocument().hide(\"%s\")",support->getNameInDocument());
}
doCommand(Gui,"Gui.activeDocument().setEdit('%s',1)",FeatName.c_str());
// #0001721: use '0' as edit value to avoid switching off selection in
// ViewProviderGeometryObject::setEditViewer
doCommand(Gui,"Gui.activeDocument().setEdit('%s',0)",FeatName.c_str());
//commitCommand();
adjustCameraPosition();