Commit 126e6bb9 authored by sumpfralle's avatar sumpfralle

show the 3D view on startup

fix no-support-model problem


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1067 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 0e0466b3
......@@ -1062,6 +1062,7 @@ class ProjectGui(object):
# register a callback for the log window
pycam.Utils.log.add_hook(self.add_log_message)
self.window.show()
self.toggle_3d_view(value=True)
def update_all_controls(self):
self.update_toolpath_table()
......@@ -2732,6 +2733,7 @@ class ProjectGui(object):
self.settings.emit_event("model-change-after")
if self.model and self.view3d and self.view3d.enabled:
self.append_to_queue(self.view3d.reset_view)
self.append_to_queue(self.toggle_3d_view, value=True)
return True
else:
return False
......
......@@ -599,6 +599,7 @@ class ToolpathSettings(object):
self.bounds = {}
self.tool_settings = {}
self.process_settings = {}
self.support_model = None
def set_bounds(self, bounds):
low, high = bounds.get_absolute_limits()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment