[Draft] gui_utils Minor bugfix on change to...
...Draft Wb with grid enabled. Please backport to 0.19 branch, see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=60251
This commit is contained in:
@@ -64,6 +64,7 @@ def get_3d_view():
|
||||
Return `None` if the graphical interface is not available.
|
||||
"""
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
if Gui.ActiveDocument:
|
||||
v = Gui.ActiveDocument.ActiveView
|
||||
if "View3DInventor" in str(type(v)):
|
||||
|
||||
Reference in New Issue
Block a user