Blender Git Loki

Git Commits -> Revision b37c589

Revision b37c589 by Campbell Barton (custom-manipulators)
June 13, 2017, 14:04 (GMT)
Further changes to manipulator API's.

These changes are intended for operators to register their own
widget-types temporarily, so _every_ operator that uses manipulators
doesn't need to keep them continuously polling the view to check if the
operator is running.

- Register `wmManipulatorGroupType` globally (like all other RNA types).
- Add `wmManipulatorGroupTypeRef` for type-maps to reference groups.
- Remove `wmManipulatorMapType.idname` (spaceid & regionid are enough info).
- Add PERSISTENT flag for `wmManipulatorGroupType`
intended for use with operators so loading a new file for eg doesn't
keep the manipulator type around.

Commit Details:

Full Hash: b37c589319ecf8117fdb0ed7a14a3889beb108e3
Parent Commit: 7dd2442
Lines Changed: +497, -236

1 Added Path:

/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup_type.c (+187, -0) (View)

20 Modified Paths:

/source/blender/editors/space_image/space_image.c (+11, -9) (Diff)
/source/blender/editors/space_node/node_manipulators.c (+2, -0) (Diff)
/source/blender/editors/space_node/space_node.c (+6, -6) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+12, -15) (Diff)
/source/blender/editors/space_view3d/view3d_manipulators.c (+16, -11) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_manipulator.c (+27, -20) (Diff)
/source/blender/python/intern/bpy_manipulator_wrap.c (+2, -2) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+0, -5) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c (+67, -70) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulatormap.c (+56, -47) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+5, -5) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+43, -26) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+12, -4) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+22, -11) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_wmapi.h (+12, -2) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021