Maya 2014 deformer attributeAffects

Maya 2014 deformer attributeAffects

Anonymous
Not applicable
598 Views
1 Reply
Message 1 of 2

Maya 2014 deformer attributeAffects

Anonymous
Not applicable

Hello!

 

I am having a strange issue with Maya 2014 and a custom deformer I have written that was working up until at least version 2011 (the version I last compiled it for).  It appears like attributeAffects isn't working correctly.  I have setup a few attributes that I want to affect outputGeom but the deform method is not being called when an input attribute changes.

 

My inputs are of types color, boolean, matrix and a generic attribute that accepts kMesh, kNurbsSurface or kNurbsCurve.  Changing any of these values will not cause the deform method to run.  If I change the envelope attribute, the deform method is run correctly.  This was definitely working in Maya 2011 back when I compiled it last.  I am not recieving any compilation errors so it appears as if everything is setup correctly.

 

Has anything changed since Maya 2011 that could cause this?  I am using Visual Studio 2010, would that version cause an issue?

 

Any help would be much appreciated!

 

-tony

0 Likes
Accepted solutions (1)
599 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

It seems that I had to just shift around where I was calling addAttribute and attributeAffects.  Sorry for the noise!

0 Likes