10-27-2013, 06:36 AM
Yes, when the default value is a floating number (yafaray fval) (1.0, 0.00, etc) it is called with ~.10f
when it is a whole number (yafaray ival) (1,2,10,etc) it is called with ~w
when it is a true or false (yafaray bval) (true,false) is is called with ~s
when it is a text string (yafaray sval) (hello, this, that) it is also called with ~s
I find myself having to fix this myself from time to time...
I still hope to have more time to contribute in November.
Thanks,
oort
Quote:<sigma fval=\"~.10f\"/>
when it is a whole number (yafaray ival) (1,2,10,etc) it is called with ~w
Quote:<dispersion_samples ival=\"~w\"/>
when it is a true or false (yafaray bval) (true,false) is is called with ~s
Quote:<dispersion_jitter bval=\"~s\"/>
when it is a text string (yafaray sval) (hello, this, that) it is also called with ~s
Quote:<material name=\"~s\">
I find myself having to fix this myself from time to time...

Thanks,
oort