mettli / dynamica

Automatically exported from code.google.com/p/dynamica
0 stars 0 forks source link

Initial plugin load produces: // Error: Object '0' not found. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install plugin
2. start maya, enable plugin
3. click on Dynamica Shelf

alternatively:

1. disable plugin in Maya plugin manager
2. delete Dynamica Shelf
3. close/reopen Maya
4. start Maya, enable plugin
5. click on Dynamica Shelf

What is the expected output? What do you see instead?

expect no errors. instead, // Error: Object '0' not found. is returned

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mbb...@gmail.com on 18 Feb 2011 at 3:38

GoogleCodeExporter commented 9 years ago
This error appears in Maya 2011 with the original script as well as the newer 
dev versions. I tried disabling the button reconstruction code to allow the 
script to create an empty shelf - this does not effect the error.

One possible fix is to connect the dynamicaUI_createWindow() command to a Menu 
item on the main toolbar. This method has been tested by a couple users and 
appears to work well. 

ref: 
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=12&t=6364&sid=c73b643dfe0
477f2eed13ff83ba0a20d

Original comment by mbb...@gmail.com on 19 Feb 2011 at 5:13

GoogleCodeExporter commented 9 years ago
It should be a harmless error. I rather want to keep the shelf, so if someone 
can fix it let us know.

Original comment by erwin.coumans on 12 Mar 2011 at 8:54

GoogleCodeExporter commented 9 years ago
In that case, we should consider enhancing the shelf with more
features - the create tab contents and some of the other features
could be moved/duplicated similar to the nCloth or Fluids shelves.

Original comment by mbb...@gmail.com on 14 Mar 2011 at 1:46

GoogleCodeExporter commented 9 years ago
In Maya 2008 the Dynamica window generates this error the first time you try to 
load it...

// Error: Too many children in layout: frameLayout22 // 

Right after the "dynamicaUI_createWindow;" call.

It boots up ok on the 2nd shelf button press but the names for the tabs are all 
incorrect. They appear as 
columnLayout2,columnLayout3,columnLayout4,columnLayout6 & columnLayout19.

Original comment by cont...@vicariousentertainment.com on 13 Sep 2011 at 10:36

GoogleCodeExporter commented 9 years ago
Is this issue fixed in latest trunk version?

Original comment by erwin.coumans on 17 Feb 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Just tested. The latest trunk version works fine in Maya 2008 x32.

Original comment by mbb...@gmail.com on 20 Feb 2012 at 6:22

GoogleCodeExporter commented 9 years ago
thanks for testing!

By the way, the latest trunk also simulates in a deterministic/reproducible 
way, as long as you reset the time slider before each simulation. Also you can 
now keyframe mass between 0 and non-zero.

Original comment by erwin.coumans on 20 Feb 2012 at 9:18