We are preparing the next release of Dynamica and need to test the latest code under various versions of Maya. I have tested on Maya 2011 under Win7, but we need to test under other configs (OSX, Linux, WinXP, Maya 2008/2009/2010) - that's where yall come in. Thanks in advance for contributing to the project!
To test the latest code:
Install/Build the latest release (v2.77 (v2.76 for OSX)).
When i load plugin and i click on shelfs "Dynamica", i got error:
// Error: Object '0' not found.
After shelfs are saved (quit maya), all is ok on next run, no error.
But i unload plugin, quit maya, then delete shelfs file "shelf_Dynamica.mel" and start maya + load plugin again, click on shelfs "Dynamica", error again.
This error occurs only when plugin create shelfs itself and user try to click shelfs "Dynamica".
thanks. working on it...might be something with the shelf maintenance code...
UPDATE: attached is a fix - replace dynamicaUI.mel in the scripts dir under the plugin install path. this fix eliminates the shelf and instead adds a "Dynamica" menu item to the main application bar.
The Object '0' not found error persists even if the shelf is created and left empty. Maya is apparently posting a "shelf selected" event which is running a procedure somewhere that produces the error. The Dynamica plugin sources the dynamicaUI.mel script and runs the global dynamicaUI_initialize() procedure - which checks and builds the shelf and button if necessary, but this runs when the plugin is loaded, not when the shelf is selected. the attached fix simply avoids the issue...
toxik wrote:When i load plugin and i click on shelfs "Dynamica", i got error:
// Error: Object '0' not found.
After shelfs are saved (quit maya), all is ok on next run, no error.
But i unload plugin, quit maya, then delete shelfs file "shelf_Dynamica.mel" and start maya + load plugin again, click on shelfs "Dynamica", error again.
This error occurs only when plugin create shelfs itself and user try to click shelfs "Dynamica".
I am using a lot of plugins for maya, and a bunch of them using procedure to create shelfs after initialize plugin, and all of this bunch have some shelfs errors.
I mean shelfs init procedure is not way !
Own menu which advanced user can disable is best clean way.