Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't destroy engine when current file is outside project before tryi… #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions python/tk_houdini/ui_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down