Revision: 48216
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48216
Author:   vino
Date:     2012-06-23 00:05:49 +0000 (Sat, 23 Jun 2012)
Log Message:
-----------
Fix drag related problems that cropped up after the non-modal patch.

Modified Paths:
--------------
    
branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c

Modified: 
branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c
===================================================================
--- 
branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c
   2012-06-22 22:43:13 UTC (rev 48215)
+++ 
branches/soc-2012-bratwurst/source/blender/editors/interface/interface_handlers.c
   2012-06-23 00:05:49 UTC (rev 48216)
@@ -2261,7 +2261,7 @@
        if (data->state == BUTTON_STATE_HIGHLIGHT) {
 
                /* first handle click on icondrag type button */
-               if (event->type == LEFTMOUSE && but->dragpoin) {
+               if (event->type == LEFTMOUSE && event->val == KM_PRESS && 
but->dragpoin) {
                        if (ui_but_mouse_inside_icon(but, data->region, event)) 
{
                                
                                /* tell the button to wait and keep checking 
further events to

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to