hi folks, I'm building an MPxLocatorNode to use in combination with an MPxDeformerNode for debugging purpose (i.e. *Deformer* sends custom data to *Locator* that will in turn draw those data, thanks to Marcus' repo <https://gist.github.com/mottosso/f2d520af4dea5bc7b07576e02d544c65>) My problem is with evaluation; I would like to update *Locator* everytime *Deformer::deform() *is called, but instead, *Locator*'s evaluation is hooked to *Deformer::compute(), *whose triggering is not in sync with *Deformer::deform()* I'm a bit rusty when it comes to nodes evaluations, so I tried to play with attributeAffects but falls into a loop (e.g. if *Deformer.inputGeom* affects *Deformer.outputData*, I get a crash (from an evaluation loop, I suppose)
What would be a clean way to make sure my *Locator::draw()* is triggered when my *Deformer::deform()* is called? Side question, is it a good approach to link 2 nodes, with one for debugging ? It sounds clean and maya-friendly to me, but I'd be curious to know if there are other valid approaches? Thank you -- 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/9be7e4ae-1108-4f8e-901d-ad2d7e591010n%40googlegroups.com.
