[Draft] Cleanup of Annotation style branch

Further cleanup and guarded imports of Gui in modules.

.
This commit is contained in:
carlopav
2020-03-26 10:20:10 +01:00
committed by Yorik van Havre
parent cb4295fd8a
commit a4f7bc43f6
11 changed files with 113 additions and 109 deletions

View File

@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
# ***************************************************************************
# * Copyright (c) 2009, 2010 Yorik van Havre <yorik@uncreated.net> *
# * Copyright (c) 2009, 2010 Ken Cline <cline@frii.com> *
@@ -35,7 +36,9 @@ import DraftGeomUtils
import draftutils.gui_utils as gui_utils
import draftutils.utils as utils
from draftobjects.draft_annotation import DraftAnnotation
from draftviewproviders.view_label import ViewProviderLabel
if App.GuiUp:
from draftviewproviders.view_label import ViewProviderLabel