Hi Nicolas, The attribute is just a float. It does have a relationship, and 
that's to the output mesh. 

On Tuesday, November 15, 2016 at 12:16:21 AM UTC+11, Nicolas Chaverou wrote:
>
> Hey Dylan,
>
> What's the type of the plug beeing keyframed (compound) ?
> Any chance there're some attributeAffects relationship declared in the 
> init ?
>
> Best,
>
> ---
> [image: Nicolas Chaverou - Golaem Crowd Product Manager - Golaem SA]
>  
> +33 (0)2 99 27 21 44
> http://www.golaem.com
>
> On Mon, Nov 14, 2016 at 1:56 PM, Dylan Smith <[email protected] 
> <javascript:>> wrote:
>
>> Heyo, I've got an odd issue. I've got a custom node with key frames on 
>> one of the attributes. Whenever I hit play, the '*setDependentsDirty*' 
>> method doesn't get called, and instead the '*compute*' method gets 
>> called twice. I pulled all the code except for 3 lines (which I will post 
>> below) out of the '*compute*' method just to make sure that I hadn't 
>> written something that calls *compute *twice, but its still happening. 
>> Has anyone encountered this and know of a way to fix/deal with it. I can 
>> even work around the '*setDependentsDirty*' issue, its just the double '
>> *compute*' problem that I really need help with.
>>
>> Code left in Compute (sorry that its in c++. I'm writing something that 
>> generates geometry so I need to squeeze all the performance I can get)
>>
>> MGlobal::displayInfo("COMPUTE CALLED!!!");
>> data.setClean(plug);
>> return MS::kSuccess;
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/c270ff60-b13e-4345-a7a9-28173452bf5e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/c270ff60-b13e-4345-a7a9-28173452bf5e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/b5788f16-99ed-4b81-86bf-a131828df3e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to