Moved another import
This commit is contained in:
@@ -32,7 +32,6 @@ import Arch_rc
|
||||
|
||||
from draftutils import init_draft_statusbar
|
||||
from draftutils.translate import translate
|
||||
from draftviewproviders import view_base
|
||||
|
||||
if App.GuiUp:
|
||||
import FreeCADGui as Gui
|
||||
@@ -150,7 +149,9 @@ def _param_observer_callback_snapcolor():
|
||||
|
||||
|
||||
def _param_observer_callback_svg_pattern():
|
||||
from draftutils import utils # has to happen here to avoid circular import
|
||||
# imports have to happen here to avoid circular imports
|
||||
from draftutils import utils
|
||||
from draftviewproviders import view_base
|
||||
utils.load_svg_patterns()
|
||||
if App.ActiveDocument is None:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user