shotgunsoftware / tk-multi-importcut

Import Cut app
Other
0 stars 0 forks source link

Replaces a call to sgtk.platform.current_engine with self._app.engine. #21

Closed thebeeland closed 8 years ago

thebeeland commented 8 years ago

Found this while launching importcut from the post_app_init method in the tk-rv engine. It's not a big deal, but there are phases of initialization on engine and app startup when the sgtk.platform.current_engine global isn't available. Since there's a reference to the parent app in this dialog, it's best to get the engine from there.