Blender Git Loki
Git Commits -> Revision bbfd0b9
Revision bbfd0b9 by Julian Eisel (temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, wiggly-widgets) November 25, 2015, 12:01 (GMT) |
Use GHash for widget update-draw routine Helps to avoid some unnecessary loop-in-loops and calling wmWidgetGroupType->poll multiple times without changed context. Did some benchmarks but didn't measure a reliable difference in a scene with Franck rig, subsurf level 2 and 6 face-maps. It should help with some really big scenes though (we have to expect rigs with hundreds of face maps). |
Commit Details:
Full Hash: bbfd0b9c179ea04cd73f56c82fa63f1d9e019886
Parent Commit: fcfc7bf
Lines Changed: +74, -51
7 Modified Paths:
/source/blender/editors/space_graph/space_graph.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/view3d_draw.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+66, -44) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -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/view3d_draw.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+66, -44) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)