Blender Git Loki

Git Commits -> Revision 061ea40

Revision 061ea40 by Bastien Montagne (temp-pyapi-units)
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

Commit Details:

Full Hash: 061ea400a0248b286396b6b9acbef35fd8d93f18
Parent Commit: 5ca44ff
Lines Changed: +613, -31

4 Added Paths:

/source/blender/python/intern/bpy_interface.h (+32, -0) (View)
/source/blender/python/intern/bpy_utils_units.c (+455, -0) (View)
/source/blender/python/intern/bpy_utils_units.h (+32, -0) (View)
/source/tests/bl_pyapi_units.py (+42, -0) (View)

5 Modified Paths:

/release/scripts/modules/bpy/utils.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_unit.h (+13, -11) (Diff)
/source/blender/python/intern/bpy.c (+2, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+32, -20) (Diff)
/source/blender/python/intern/CMakeLists.txt (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021