Heyo, I've got an odd issue. I've got a custom node with key frames on one 
of the attributes. Whenever I hit play, the '*setDependentsDirty*' method 
doesn't get called, and instead the '*compute*' method gets called twice. I 
pulled all the code except for 3 lines (which I will post below) out of the 
'*compute*' method just to make sure that I hadn't written something that 
calls *compute *twice, but its still happening. Has anyone encountered this 
and know of a way to fix/deal with it. I can even work around the '
*setDependentsDirty*' issue, its just the double '*compute*' problem that I 
really need help with.

Code left in Compute (sorry that its in c++. I'm writing something that 
generates geometry so I need to squeeze all the performance I can get)

MGlobal::displayInfo("COMPUTE CALLED!!!");
data.setClean(plug);
return MS::kSuccess;

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c270ff60-b13e-4345-a7a9-28173452bf5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to