From 4a1ac345eb75b12e17054e24b4c8a6fa4df1bdfc Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Fri, 5 Feb 2021 18:11:23 -0600 Subject: [PATCH] Path: Add `LazyLoader` usage for `UseOutline` module dependencies --- src/Mod/Path/PathScripts/PathAdaptive.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathAdaptive.py b/src/Mod/Path/PathScripts/PathAdaptive.py index 1f069d102e..c0eb9ffd25 100644 --- a/src/Mod/Path/PathScripts/PathAdaptive.py +++ b/src/Mod/Path/PathScripts/PathAdaptive.py @@ -34,6 +34,11 @@ import math import area from pivy import coin +# lazily loaded modules +from lazy_loader.lazy_loader import LazyLoader +Part = LazyLoader('Part', globals(), 'Part') +TechDraw = LazyLoader('TechDraw', globals(), 'TechDraw') + __doc__ = "Class and implementation of the Adaptive path operation." def convertTo2d(pathArray):