Blender Git Loki

Git Commits -> Revision 24d39c0

Revision 24d39c0 by Elia Sarti (master)
July 25, 2009, 15:26 (GMT)
2.5 / Drag & Drop

Commit of basic architecture. Sorry, nothing fun to play with yet.
Added two events: MOUSEDRAG and MOUSEDROP. MOUSEDRAG is sent when left-mouse clicking and then moving the cursor and every time the cursor is moved until the user releases the mouse button, thus generating a MOUSEDROP.
Also added two dummy drag operators in view3d and outliner (place holders for now).

Brecht and Ton: feel free to check/edit especially the event system code. I'm not sure that's the right way to do it. Also, I'm getting some mem leaks which I suspect are caused by my code.

Commit Details:

Full Hash: 24d39c0de496cb8c3640564757cae2c383efa154
SVN Revision: 21887
Parent Commit: 5b12cb9
Lines Changed: +149, -1

9 Modified Paths:

/source/blender/editors/space_outliner/outliner.c (+51, -0) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+5, -0) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+50, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+3, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+30, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021