Broken: 2.69.0 r60995
Short description of error
Using arithmetic in the the properties panel does not function as expected when using units. Not assigning units defaults to feet in the Dimensions section of the Transform section under the Properties panel. However, using arithmetic causes the result to be inconsistent with what is expected.
For example, type in "2" in the X Dimension, and it will result in 2 feet. Typing in "2+2" will result in 4 feet. This is what you'd expect.
However, type in "2+2in" and the result is 6.727 feet. The expected result would be 2(feet) plus two inches (2.167 feet), so this is not what you'd expect.
This affects any work using arithmetic and units.
Exact steps for others to reproduce the error
- On the default start-up scene, go to the Scene panel on the Properties panel and set the units to Imperial.
- In the 3D View window's property panel, go to Transform, then Dimensions, and type in "4" in the X Dimension. It will result in 4' (four feet).
- If you type "2+2 in" into the X Dimension, it will result in 6.728' (over six feet). However, typing "2 ft+2 in" will result in the desired result of 2.167' (two feet and two inches).
Screen Recording of error
Link to gif http://i.imgur.com/f2BZ6pK.gif
Link to html5 http://gfycat.com/NeatPerkyAssassinbug