I have an array attribute (‘MFnAttritute::setArray(true)’, which is set to be internal (‘MFnAttribute::setInternal(true)’).
When I now change the value of one element, inside the ‘MPxNode::setInternalValue’, I get the old value of that element,
even though the channelBox shows the new value and also asking Maya with ‘getAttr( “myNode.myElemAttr” )’ gives me the
new value. I have to set the value twice so that inside the ‘MPxNode::serInternalValue’ I get the correct updated value.
So, what am I doing wrong?
Thanks for help!