Adverti horiz upsell

brainbugz 1.4.0 for Maya (maya plugin)

brainbugz, behavioural animation for particles

License
Button download
25,589 Downloads

Compatibility

  • 2010, 9.x, 2009, 2008, 8.x, 7.x, 6.x, 5.x, 4.x

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:10/11/2002
Last Modified:01/20/2010
File Size: 1.33 MB

Bugs

error loading the plugin

Statuspending
Priorityhigh
Date05/23/2010
Submitted bycss_maya css_maya
hi
i found that people had some problem loading the new compiled plugin in maya 2010. so, i got the sorce and recompiled it for 2011 X32, when i compile it i have several warnings about converting double to integer that you can ignore, there was another error concerning a loop that was closed by bracket early, but after all of these, i got the plugin compiled and had the .mll file. Now the funny thing is when i want to load it in maya it gives me an error about node registration. here is the initializePlugin part of the plugin :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
MStatus initializePlugin (MObject obj)
{
MStatus statuse;
MfnPlugin plugin (obj,"Carsten Kolve","4.0","Any");
status=plugin.registerNode ("bbSteeringDesire",bbSteeringDesire::id,&bbSteeringDesire::creator,
				&bbSteeringDesire::initialize,MPxNode::kFieldNode);
if (!status)
{
status.perror("registerNodeBBSD");
return status;
}
status=plugin.registerNode ("bbCombineDesire",bbCombineDesire::id,&bbCombineDesire::creator,
				&bbCombineDesire::initialize);
if (!status)
{
status.perror("registerNodeBBCD");
return status;
}
status=plugin.registerUI("bbCreateUI","bbDeleteUI");
if (!status){
status.perror("registerUIScripts");
return status;
}
return status;
}

 

so, i think if we have any problem registering any one of nodes or UI we should see separate errors indicating the error. so why do i get this error ?
steeringDesire...loaded//
error: file :......... line 665 initializePlugin function failed !!!!!!
i don't get it, were is the error and why it won't work even when it compiles correctly?
thanks

Post a comment: