Using timeChanged callback within C++ Plugin


Hi everyone.

As the title suggest, i have developed a Maya C++ Plugin which makes intense use of timeChanged callback. The callback is registered during initialization, and when triggered i check lots of MObjects, modifying world transforms on Transform nodes and much more things.

The problem i am facing is that under some circunstances the Transform nodes stops updating in the viewport when updating its world transform, even when i see in the Channel Box that the values are properly updated. Moreover, if i check and uncheck the “Inherit Transform” property of the transform node the object starts updating properly again.

P.D. I am using MFnTransform to update the world matrix by the way.

Does anyone has a suggestion to fix the issue??