Blender Git Loki
Git Commits -> Revision a0ce28d
Revision a0ce28d by Ton Roosendaal (master) December 17, 2010, 19:05 (GMT) |
Drag & drop feature: You now can drop a .blend inside blender window to open it. Implementation notes: - Added call to extract icon type for files. Code re-used from space_file - External files that get dropped set icon types too. Drop box polls can check for this. - Also enabled setting op-context for drop operators, this was needed to prevent filewindow to open. |
Commit Details:
Full Hash: a0ce28d7312adc31194e2ba34974dc5de754fced
SVN Revision: 33754
Parent Commit: fd90685
Lines Changed: +134, -57
8 Modified Paths:
/source/blender/editors/include/ED_fileselect.h (+2, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+24, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+86, -51) (Diff)
/source/blender/editors/space_file/filelist.h (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+7, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+11, -3) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+24, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+86, -51) (Diff)
/source/blender/editors/space_file/filelist.h (+0, -1) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+7, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+11, -3) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -1) (Diff)