Path: Apply LazyLoader for DraftGeomUtils module

This commit is contained in:
Russell Johnson
2021-02-18 01:36:04 -06:00
parent 7d4ca77f1a
commit edab3c6ecc

View File

@@ -37,6 +37,7 @@ from PySide import QtCore
from lazy_loader.lazy_loader import LazyLoader
ArchPanel = LazyLoader('ArchPanel', globals(), 'ArchPanel')
Part = LazyLoader('Part', globals(), 'Part')
DraftGeomUtils = LazyLoader('DraftGeomUtils', globals(), 'DraftGeomUtils')
__title__ = "Path Profile Operation"
@@ -589,7 +590,6 @@ class ObjectProfile(PathAreaOp.ObjectOp):
# Edges pre-processing
def _processEdges(self, obj):
import DraftGeomUtils
shapes = list()
basewires = list()
delPairs = list()