bugfix [#24302] Ctrl+Click Extrude gets old mouse events
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Oct 2010 00:25:32 +0000 (00:25 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Oct 2010 00:25:32 +0000 (00:25 +0000)
commit433f871f0f6bc68fbb1fffbdac42ef1bb8b5d019
treef6a920d95309bfd69865ee942829f72ea4e3157c
parentc7c128f03b1a5bd95946ef5b2d1f9e46abd76ce7
bugfix [#24302] Ctrl+Click Extrude gets old mouse events
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled).

Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory.
used for debugging where events came from.
intern/guardedalloc/MEM_guardedalloc.h
intern/guardedalloc/intern/mallocn.c
source/blender/editors/interface/interface_icons.c
source/blender/editors/mesh/editmesh_add.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/wm_event_system.h