Commit: 5c51c1a47ad0b334b61199178ad7fbb03bc2d55a
Author: Julian Eisel
Date:   Sat Nov 28 00:24:45 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB5c51c1a47ad0b334b61199178ad7fbb03bc2d55a

Add missing break, fix sometimes wrong face map highlighted after de-select all

===================================================================

M       source/blender/windowmanager/intern/wm_widgets.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_widgets.c 
b/source/blender/windowmanager/intern/wm_widgets.c
index 49a24d2..03915f6 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -787,6 +787,9 @@ bool WM_widgetmap_select_all(bContext *C, wmWidgetMap 
*wmap, const int action)
                        BLI_assert(0);
        }
 
+       if (changed)
+               WM_event_add_mousemove(C);
+
        return changed;
 }
 
@@ -808,6 +811,7 @@ static void wm_widget_deselect(const bContext *C, 
wmWidgetMap *wmap, wmWidget *w
                        for (int j = i; j < ((*tot_selected) - 1); j++) {
                                (*sel)[j] = (*sel)[j + 1];
                        }
+                       break;
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to