Blender Git Statistics -> Branches -> temp-pyapi-units
"Temp-pyapi-units" branch
Total commits : 12
Total committers : 2
First Commit : June 16, 2014
Latest Commit : June 17, 2014
Commits by Date
Date | Number of Commits | |
---|---|---|
June 17, 2014 | 9 | |
June 16, 2014 | 3 |
Committers
Author | Number of Commits |
---|---|
Bastien Montagne | 8 |
Campbell Barton | 4 |
Popular Files
Filename | Total Edits |
---|---|
bpy_utils_units.c | 9 |
bl_pyapi_units.py | 3 |
py_capi_utils.c | 2 |
bpy_interface.c | 2 |
BLI_string.h | 2 |
CMakeLists.txt | 2 |
string.c | 2 |
bpy.c | 2 |
BKE_unit.h | 2 |
bpy_interface.h | 2 |
Latest commits
June 17, 2014, 13:19 (GMT) |
remove unused includes, simplify alloc/free |
June 17, 2014, 13:03 (GMT) |
Fix loss of precision when converting string to value. |
June 17, 2014, 13:02 (GMT) |
Revert to static size for our buffers. 64 should be more than enough, never could get strings longer than ~21 chars so far. |
June 17, 2014, 12:55 (GMT) |
Add more tests to bpyunits. Only LENGTH type for now. This showed two limits to current BKE's units code: * When converting string to value, we use too few precision for units' values (6 digits), not good esp. when mixing big and small units (like e.g. miles and inches). Will fix that in next commit. * When converting values to string, 'precision' parameter ignores order of magnitude of the value, which leads to invalid results with big numbers (e.g. 1000000mi gives 1000000.004mi with prec of 3). |
June 17, 2014, 10:09 (GMT) |
Fix doc strings. |
June 17, 2014, 09:53 (GMT) |
Deduplicate some code for struct-seq initialization |
June 17, 2014, 08:41 (GMT) |
Make units a real submodule. |
June 17, 2014, 04:48 (GMT) |
Minor cleanup/changes to api & docstrings |
June 17, 2014, 04:17 (GMT) |
Merge branch 'master' into temp-pyapi-units |
June 16, 2014, 18:17 (GMT) |
Some minor tweaking on temps buffers... |
June 16, 2014, 14:57 (GMT) |
Modifications from Campbell's review, thanks! :) |
June 16, 2014, 07:25 (GMT) |
First step toward a basic units py API (exposes all supported unti systems & types, and str_to_value/value_to_str functions). Also adds a skeletton of unittest file for it! Reviewers: campbellbarton CC: carter2422 Differential Revision: https://developer.blender.org/D416 |
MiikaHweb - Blender Git Statistics v1.06