Split OCL and experimental features to allow enabling independently.

This commit is contained in:
Markus Lampert
2021-02-13 16:02:39 -08:00
parent 63cd587e07
commit da85fde409
4 changed files with 20 additions and 15 deletions

View File

@@ -121,6 +121,7 @@ class PathWorkbench (Workbench):
extracmdlist.extend(["Path_Area", "Path_Area_Workplane"])
specialcmdlist.append('Path_Thread_Milling')
if PathPreferences.advancedOCLFeaturesEnabled():
try:
import ocl # pylint: disable=unused-variable
from PathScripts import PathSurfaceGui