On 19/03/2014 at 04:30, xxxxxxxx wrote:
I have a GRADIENT gui object thing successfully showing up in my plugin and have managed to initiate it with a set of predefined knots and interpolation set to none etc..
However, i noticed there is setting within the documentation for GradientCustomGui called GRADIENTPROPERTY_NOEDITCOLOR.
_
_
I assumed this would prevent the user from editing the colour of the existing knots but it doesn`t seem to do anything when added to the GRADIENT in the .res file.
Basically i am looking at ways to allow the user to drag the knots around, but not edit them/delete-them/add-more.
Anybody have any words of wisdom on this?
Itll be my third question posted to this forum in the past week, none of which have been responded to, so i
m not holding my breath. Would be nice to get some ideas from more experienced python/c4d devs though..