Blender Git Commit Log

Git Commits -> Revision 54bc49e

Revision 54bc49e by Campbell Barton (master)
July 25, 2017, 22:28 (GMT)
Manipulator: refactor/fix selection logic

- Cleanup array access, move into functions.
- Store allocated size to avoid realloc's on every add/remove.
- Make select editable from Python.
- Rename select callback to select_refresh
(collided with select boolean).
- Call select_refresh when de-selecting as well as selection.

Commit Details:

Full Hash: 54bc49e6f940c6e4b1ee893ac28b87fa1b150656
Parent Commit: dee19b8
Lines Changed: +168, -124

8 Modified Paths:

/source/blender/makesrna/intern/rna_wm_manipulator.c (+18, -25) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator.c (+31, -47) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c (+5, -5) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_intern.h (+15, -8) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c (+95, -37) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_api.h (+2, -0) (Diff)
/source/blender/windowmanager/manipulators/wm_manipulator_fn.h (+1, -1) (Diff)
/source/blender/windowmanager/manipulators/WM_manipulator_types.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021