Blender Git Statistics -> Branches -> temp-units-refactor

"Temp-units-refactor" branch

Total commits : 2
Total committers : 1
First Commit : August 14, 2014
Latest Commit : August 20, 2014


Commits by Date

DateNumber of Commits
August 20, 20141
August 19, 20140
August 18, 20140
August 17, 20140
August 16, 20140
August 15, 20140
August 14, 20141

Committers

AuthorNumber of Commits
Bastien Montagne2

Popular Files

FilenameTotal Edits
unit.c1
bl_pyapi_units.py1

Latest commits Feed

August 20, 2014, 08:05 (GMT)
Merge branch 'master' into temp-units-refactor
August 14, 2014, 07:08 (GMT)
Fix T38722: Adding units in Imperial setting results in inconsistent values

Now always check for a default unit, and evaluate the whole expression in this "unit space". Not an ideal solution, but should handle most cases nicely (we can't address all possible corner cases anyway).

Note default unit is searched in current string first (bigger unit of current system wins), then in previous string.

Note this also replaces ',' by '+' in default separation between units, helps solving issues with parenthesis (e.g. (1'1")*2.5 would fail in existing code)!

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D340

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019