Hi there.I wanted to finally start writing plug-ins for Maya using Python. To start, I created a template for myself that just takes a matrix as an input and outputs the same matrix -- basically, a compute devoid of any computing.
When I plug the matrix of one object into it and connect the output of the matrix (via a decompose matrix node for the time being -- I'll output constituent transform data later) to the translation of another object, I get the expected output. Object 2 follows object 1.
The problem is that after wiggling object 1 around for a little bit, Maya crashes eventually, giving me an error similar to this: undo of command caused reentrant call to undo manager
I guess it could be that I need to add some undo code in there.
I threw my code up on pastebin if anyone has a moment to look at it to see what I did wrong. I'll keep poking at it, too, and maybe adding a debugger to the mix.
Thanks,
Alec