Message 1 of 3
Maya crashes after reloading a plug-in

Not applicable
09-15-2010
11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am developing a plug-in for Maya 2010 using the C++ API. This plug-in declares two commands.
When I unload the plug-in after executing one command, then reload it and execute the command again, Maya crashes without actually entering the command code (MPxCommand::doIt method).
Both commands are registered in function initializePlugin() and deregistered in uninitializePlugin().
I have followed exactly the Maya API documentation, but I don't know what is the reason of the crash.
Any help would be very appreciated.
Thanks in advance.
Javier Taibo.
I am developing a plug-in for Maya 2010 using the C++ API. This plug-in declares two commands.
When I unload the plug-in after executing one command, then reload it and execute the command again, Maya crashes without actually entering the command code (MPxCommand::doIt method).
Both commands are registered in function initializePlugin() and deregistered in uninitializePlugin().
I have followed exactly the Maya API documentation, but I don't know what is the reason of the crash.
Any help would be very appreciated.
Thanks in advance.
Javier Taibo.