Arch: Added View clipping abilities to BuildingParts, like SectionPlanes

This commit is contained in:
Yorik van Havre
2019-07-06 20:22:30 -03:00
parent 7b031e2b26
commit 68f4eccc58
2 changed files with 67 additions and 7 deletions

View File

@@ -372,6 +372,9 @@ class SelectPlane(DraftTool):
if hasattr(sel.Object.ViewObject,"AutoWorkingPlane"):
if sel.Object.ViewObject.AutoWorkingPlane:
plane.weak = True
if hasattr(sel.Object.ViewObject,"CutView") and hasattr(sel.Object.ViewObject,"AutoCutView"):
if sel.Object.ViewObject.AutoCutView:
sel.Object.ViewObject.CutView = True
if hasattr(sel.Object.ViewObject,"RestoreView"):
if sel.Object.ViewObject.RestoreView:
if hasattr(sel.Object.ViewObject,"ViewData"):