Blender Git Commit Log
Git Commits -> Revision e9e44a2
Revision e9e44a2 by Antonis Ryakiotakis (soc-2013-paint) July 18, 2013, 11:42 (GMT) |
Use regular drag'n drop system for pasting colors. That was a fun patch to write, it abuses the custom pointer of the drag system and required patching the drag'n drop system to support freeing the pointer if needed. The result is nice icons when dropping colours :). Unfortunately the name of the operator is strangely not always visible when dragging to a correct spot (such as the toolbar) |
Commit Details:
Full Hash: e9e44a2d7b00a3c9a897071d616059bd5f68bd46
SVN Revision: 58366
Parent Commit: 91206f5
Lines Changed: +146, -93
15 Modified Paths:
/source/blender/editors/include/UI_interface.h (+6, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+14, -74) (Diff)
/source/blender/editors/interface/interface_intern.h (+6, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+68, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+6, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+9, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+21, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+14, -74) (Diff)
/source/blender/editors/interface/interface_intern.h (+6, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+68, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+6, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+9, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+21, -7) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+2, -1) (Diff)
/source/blender/windowmanager/wm_event_types.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)