You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When should the host call gui create()/destroy(): On instanciating the plugin (after plugin.init() but before plugin.activate()), or each time the editor window is opened/closed?
I tried the first but it turned out that some plugins don't like that.
So i'm now calling gui create()/destroy() each time the editor is opened/closed, which seems to work, but isn't that a waste of cpu resources? Why would the gui have to be created/destroyed upon each editor open/close?
If it's obligatory for a host to call gui create()/destroy() on each editor open/close can you please specify this in the docs.
Thx.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When should the host call gui create()/destroy(): On instanciating the plugin (after plugin.init() but before plugin.activate()), or each time the editor window is opened/closed?
I tried the first but it turned out that some plugins don't like that.
So i'm now calling gui create()/destroy() each time the editor is opened/closed, which seems to work, but isn't that a waste of cpu resources? Why would the gui have to be created/destroyed upon each editor open/close?
If it's obligatory for a host to call gui create()/destroy() on each editor open/close can you please specify this in the docs.
Thx.
Beta Was this translation helpful? Give feedback.
All reactions