Blender Git Loki
Git Commits -> Revision 5a94e19
Revision 5a94e19 by Julian Eisel (temp_widgets_update_tagging) March 5, 2016, 22:11 (GMT) |
Initial implementation of a tagging system for widget updates Instead of recreating all widgets on (almost) every redraw, we just recreate them now if WM_widgetmap_tag_recreate was called before. Since some widgets still have some data that needs to be updated before drawing, an update callback was added to widget groups for doing this. Note: This branch a bit unstable now, basically all manipulators except of the transform manipulator are broken now. |
Commit Details:
Full Hash: 5a94e1984e275c05e100eb5416fa59c1ac092182
Parent Commit: 4ccddec
Lines Changed: +277, -83
16 Modified Paths:
/source/blender/editors/armature/pose_select.c (+7, -2) (Diff)
/source/blender/editors/include/ED_transform.h (+1, -0) (Diff)
/source/blender/editors/space_graph/space_graph.c (+1, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -5) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+136, -46) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+1, -0) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widgetgroup.c (+18, -2) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widgetmap.c (+75, -18) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widget_intern.h (+6, -0) (Diff)
/source/blender/windowmanager/widgets/WM_widget_api.h (+10, -2) (Diff)
/source/blender/windowmanager/widgets/WM_widget_types.h (+6, -1) (Diff)
/source/blender/editors/include/ED_transform.h (+1, -0) (Diff)
/source/blender/editors/space_graph/space_graph.c (+1, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -5) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+136, -46) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+1, -0) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widgetgroup.c (+18, -2) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widgetmap.c (+75, -18) (Diff)
/source/blender/windowmanager/widgets/intern/wm_widget_intern.h (+6, -0) (Diff)
/source/blender/windowmanager/widgets/WM_widget_api.h (+10, -2) (Diff)
/source/blender/windowmanager/widgets/WM_widget_types.h (+6, -1) (Diff)