I’m making a script that concentrates the edition of several different hairsystems through only this one.
The script has some UI elements such as gradientControlNoAttr.
One of the steps is loading a number of nodes (value, position, interpolation) into the curve.
This is done through
gradientControlNoAttr -e -asString $bufferCommand stiffnessScaleCurve;
The $bufferCommand is a string with all the comma separated values.
The problem is that all the nodes are correctly set but the one with index 0.
I’ve checked the string and the first values are “1.0, 0.0, 3” which means (value, position, interpolation) but the node stays at default zero value
So is this a bug in the gradientControlNoAttr UI element? or am i (most probably) missing something ?
I would like to know why is this happening, in the meantime, a workaround would be to use an extra node to be used as the first one.