From 06edda2652b510916bba32aacf6d64d4ea20bb0e Mon Sep 17 00:00:00 2001 From: Jeremy Mack Wright Date: Sat, 15 Apr 2017 16:25:20 -0400 Subject: [PATCH] Disabled the ability of the module to open a template when the workbench loads since it gets in the way for more experienced users. --- CadQuery/InitGui.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CadQuery/InitGui.py b/CadQuery/InitGui.py index a906d99..8cf0691 100644 --- a/CadQuery/InitGui.py +++ b/CadQuery/InitGui.py @@ -65,10 +65,10 @@ class CadQueryWorkbench (Workbench): widget.setVisible(True) # Set up the paths to allow us to open the template - template_path = os.path.join(module_base_path, 'Templates') - template_path = os.path.join(template_path, 'script_template.py') - - ImportCQ.open(template_path) + # template_path = os.path.join(module_base_path, 'Templates') + # template_path = os.path.join(template_path, 'script_template.py') + # + # ImportCQ.open(template_path) def AutoExecute(self): """We should be able to pass the Gui.Commands.CadQueryExecuteScript function directly to the file_reloaded