GUI Step not working [SOLVED]

On 21/04/2015 at 12:05, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R16 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi,

I'm working on an object-generator plugin, which has some GUI sliders.
As soon as I add the step inside my .res file, I can't use the up-arrow inside Cinema 4D and the step doesn't work. If I delete the step, all works fine.

This is my line of code:

REAL LENGTH { UNIT METER; MIN 5.0; STEP 0.5; }

Did anybody have the same problem?
And how can this be fixed?
Thanks for your help and time!

Greetings,
Casimir Smets

On 22/04/2015 at 01:48, xxxxxxxx wrote:

Hi,

Turns out my question was stupid. Inside my Init method I set my sliders.
Previously I did it with data->SetInt32() which I have now replaced with data->SetFloat().
Because an integer doesn't have decimals, my steps can't work. Logic.

You can mark this post as solved!
Greetings,

Casimir Smets