Draft: Fixed working plane set on non-coin view

This commit is contained in:
Yorik van Havre
2021-06-22 16:12:59 +02:00
parent 08c3a6b3e7
commit 835e326652

View File

@@ -837,7 +837,7 @@ class Plane:
import FreeCADGui
if FreeCADGui.ActiveDocument:
view = FreeCADGui.ActiveDocument.ActiveView
if view:
if view and hasattr(view,"getActiveOject"):
a = view.getActiveObject("Arch")
if a:
p = a.Placement.inverse().multiply(p)