Path: Use lazyloader for importing some modules

This commit is contained in:
Russell Johnson
2020-04-28 23:31:46 -05:00
parent c9782a3b69
commit 64d1a21b24

View File

@@ -36,7 +36,10 @@ import Path
import PathScripts.PathLog as PathLog
import PathScripts.PathUtils as PathUtils
import math
import Part
# lazily loaded modules
from lazy_loader.lazy_loader import LazyLoader
Part = LazyLoader('Part', globals(), 'Part')
PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())