Game Development Community

[1.1 Beta 1 Bug] World Inspector Fields Require Leading Zero for Fractional Floats

by Ryan Mounts · in Torque 3D Professional · 03/04/2010 (7:20 am) · 3 replies

In previous builds of T3D you could, for example, set the scale of an object in the World Inspector by typing ".5 .5 .5". This no longer works in 1.1 Beta 1. Now you have to type "0.5 0.5 0.5" for it to take the new values. It would be nice if the leading zero was not required for fractional floating point values, like it used to be.

#1
03/04/2010 (8:21 am)
Yeah, I noticed this - it's a little unergonomic.
#2
03/04/2010 (9:16 am)
I believe it stopped working when they added support for script expressions in the fields, since the value parsing was heavily modified for that to work.
#3
03/04/2010 (9:56 am)
Yep, Peter K reported this here.

Manoel is right about the reason. Got fixed for Beta2. TorqueScript now accepts values lik ".1".