Draft: Fixed working plane set on non-coin view
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user