diff --git a/python/tk_houdini/ui_generation.py b/python/tk_houdini/ui_generation.py index ccbf9e0..ca26323 100644 --- a/python/tk_houdini/ui_generation.py +++ b/python/tk_houdini/ui_generation.py @@ -961,10 +961,6 @@ def _on_file_change_timeout(): try: tk = sgtk.tank_from_path(cur_file) except sgtk.TankError, e: - # Unable to get tk api instance from the path. won't be able to get a - # new context. if there is an engine running, destroy it. - if cur_engine: - cur_engine.destroy() return # get the new context from the file