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

fix save_as gui hang due to too many calls to "generate preview path" #119

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: 3 additions & 1 deletion python/tk_multi_workfiles/file_save_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ def __init__(self, parent=None):
self._allow_preview_update = True
# Manually invoke the preview update here so it is only called once due to the
# _allow_preview_update flag.
self._start_preview_update()
# this is unneccesary at this stage, callbacks set the preview update fine,
# and too many calls to this function can lock the gui
#self._start_preview_update()
except Exception:
self._allow_preview_update = True
app = sgtk.platform.current_bundle()
Expand Down