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;