Blender Git Commit Log

Git Commits -> Revision f94b87b

Revision f94b87b by Bastien Montagne (master)
June 17, 2014, 14:03 (GMT)
New python API for units handling.

Exposes all supported unit systems & types, and to_value()/to_string() functions.

Reviewed and enhanced by CampbellBarton, many thanks!

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

Commit Details:

Full Hash: f94b87bbb89b2350be2f5b26c2afb2372fd9d99c
Parent Commit: ab5f4c4
Lines Changed: +445, -59

2 Added Paths:

/source/blender/python/intern/bpy_utils_units.c (+332, -0) (View)
/source/blender/python/intern/bpy_utils_units.h (+32, -0) (View)

6 Modified Paths:

/release/scripts/modules/bpy/utils.py (+2, -0) (Diff)
/source/blender/python/generic/py_capi_utils.c (+70, -0) (Diff)
/source/blender/python/generic/py_capi_utils.h (+2, -0) (Diff)
/source/blender/python/intern/bpy.c (+2, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+3, -59) (Diff)
/source/blender/python/intern/CMakeLists.txt (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021