Blender Git Loki
Git Commits -> Revision 28b2f1c
Revision 28b2f1c by Campbell Barton (master) June 26, 2017, 06:38 (GMT) |
Manipulator: Python API Initial support for Python/Manipulator integration from 'custom-manipulators' branch. Supports: - Registering custom manipulators & manipulator-groups. - Modifying RNA properties, custom values via get/set callbacks, or invoking an operator. - Drawing shape presets for Python defined manipulators (arrow, circle, face-maps) Limitations: - Only float properties supported. - Drawing only supported via shape presets. (we'll likely want a way to define custom geometry or draw directly). - When to refresh, recalculate manipulators will likely need integration with notifier system. Development will be continued in the 2.8 branch |
Commit Details:
Full Hash: 28b2f1c30504ce0e437b21f7964282fcd6894421
Parent Commit: c9e33b3
Lines Changed: +2381, -16
9 Added Paths:
/doc/python_api/examples/bpy.types.ManipulatorGroup.py (+29, -0) (View)
/release/scripts/templates_py/manipulator_operator.py (+224, -0) (View)
/release/scripts/templates_py/manipulator_operator_target.py (+45, -0) (View)
/release/scripts/templates_py/manipulator_simple.py (+42, -0) (View)
/source/blender/makesrna/intern/rna_wm_manipulator_api.c (+254, -0) (View)
/source/blender/python/intern/bpy_manipulator_wrap.c (+231, -0) (View)
/source/blender/python/intern/bpy_manipulator_wrap.h (+36, -0) (View)
/source/blender/python/intern/bpy_rna_manipulator.c (+341, -0) (View)
/source/blender/python/intern/bpy_rna_manipulator.h (+32, -0) (View)
/release/scripts/templates_py/manipulator_operator.py (+224, -0) (View)
/release/scripts/templates_py/manipulator_operator_target.py (+45, -0) (View)
/release/scripts/templates_py/manipulator_simple.py (+42, -0) (View)
/source/blender/makesrna/intern/rna_wm_manipulator_api.c (+254, -0) (View)
/source/blender/python/intern/bpy_manipulator_wrap.c (+231, -0) (View)
/source/blender/python/intern/bpy_manipulator_wrap.h (+36, -0) (View)
/source/blender/python/intern/bpy_rna_manipulator.c (+341, -0) (View)
/source/blender/python/intern/bpy_rna_manipulator.h (+32, -0) (View)
13 Modified Paths:
/build_files/cmake/macros.cmake (+2, -0) (Diff)
/doc/python_api/sphinx_doc_gen.py (+3, -0) (Diff)
/release/scripts/modules/bpy_types.py (+29, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+45, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_manipulator.c (+1005, -2) (Diff)
/source/blender/python/intern/bpy.c (+3, -0) (Diff)
/source/blender/python/intern/bpy_intern_string.c (+3, -1) (Diff)
/source/blender/python/intern/bpy_intern_string.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+22, -12) (Diff)
/source/blender/python/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+28, -0) (Diff)
/doc/python_api/sphinx_doc_gen.py (+3, -0) (Diff)
/release/scripts/modules/bpy_types.py (+29, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+45, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_manipulator.c (+1005, -2) (Diff)
/source/blender/python/intern/bpy.c (+3, -0) (Diff)
/source/blender/python/intern/bpy_intern_string.c (+3, -1) (Diff)
/source/blender/python/intern/bpy_intern_string.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+22, -12) (Diff)
/source/blender/python/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+28, -0) (Diff)