Page 1 of 1

[Shader] Annotation "SasUiSteps" not working as intended

Posted: 19 Oct 2015, 18:09
by TVM Cracklings
I've already encountered this problem a few times, not sure if I'm doing anything wrong, and it's not breaking anything, but it's still a bit annoying.

So, the problem:

Say you declare some variable in the shader node:

Code: Select all

float x<string SasUiLabel="xxx"; float SasUiSteps=.001;> = 0.f;
The GUI is supposed to recognise the steps annotation, and as I drag the x value in Ventuz GUI, it should increase/decrease with a precision of .001.

But sometimes it just doesn't. It inherits the default step of 0.1 . And if it happens once, it seems to happen to all values defined afterwards (speaking of time, not position in code).

I'm pretty sure it wasn't a typo. Checked multiple times today.

Not sure what's causing this, nor do I know a way to reliably reproduce this behavior. Just throwing it in here and lerou or some other knowledgeable people may have some idea of what's going on.

BR
-C