remove unnecessary includes

remove obs code
remove obs initializations
This commit is contained in:
WandererFan
2016-09-16 12:56:38 -04:00
parent 1d281d821a
commit b27a526cd6
7 changed files with 1 additions and 34 deletions

View File

@@ -516,10 +516,6 @@ void CmdTechDrawClip::activated(int iMsg)
std::string FeatName = getUniqueObjectName("Clip");
openCommand("Create Clip");
doCommand(Doc,"App.activeDocument().addObject('TechDraw::DrawViewClip','%s')",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.ShowFrame = True",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Height = 30.0",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Width = 30.0",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.ShowLabels = False",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.addView(App.activeDocument().%s)",PageName.c_str(),FeatName.c_str());
updateActive();
commitCommand();