Arch: Don't create a drawing view on section plane creation

This was very heavy and often caused unnecessary computations. Adding
a new Drawing view is now done manually, with the Draft to Drawing tool
This commit is contained in:
Yorik van Havre 2014-03-09 19:44:36 -03:00
parent 6441ca3ef1
commit eed8ec27df

View File

@ -86,7 +86,7 @@ class _CommandSectionPlane:
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Section Plane"))
FreeCADGui.doCommand("import Arch")
FreeCADGui.doCommand("section = Arch.makeSectionPlane("+ss+")")
FreeCADGui.doCommand("Arch.makeSectionView(section)")
#FreeCADGui.doCommand("Arch.makeSectionView(section)")
FreeCAD.ActiveDocument.commitTransaction()
FreeCAD.ActiveDocument.recompute()