Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | PluginDB
Simple container keeping information about the loaded plugins, namely the node types they register.
As PyMel code has shown, we cannot rely on pluginLoaded and unloaded callbacks, which is why we just listen to plugin changed events, and figure out the differences ourselves.
Currently we are only interested in the registered node types, which is why we are on mrv.maya.nt level, not on mrv.maya level
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
Retrieve plugin information from a plugin named pluginName, which is assumed to be loaded. Currently the nodetypes found are added to the node-type tree to make them available. The plugin author is free to add specialized types to the tree afterwards, overwriting the default ones. We loosely determine the inheritance by differentiating them into types suggested by MFn::kPlugin<Name>Node |
Remove all node types registered by pluginName unless they have been registered by a third party. We cannot assume that they listen to these events, hence we just keep the record as it will not harm. In any way, we will remove any record of the plugin from our db |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:13 2011 | http://epydoc.sourceforge.net |