Commit 110cd923 authored by sumpfralle's avatar sumpfralle

fixed exception for remote workers


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1084 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 789df6a3
......@@ -196,7 +196,7 @@ class BaseModel(TransformableContainer):
def __del__(self):
# Somehow remote pycam servers complain about this missing attribute
# during cleanup.
if hasattr(self, "_opengl_display_cache"):
if GL_enabled and hasattr(self, "_opengl_display_cache"):
self._reset_opengl_display_cache()
def _get_progress_callback(self, update_callback):
......
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