Commit: 26a74c8e11aa7e4511117af5066aadc0b976259b
Author: Antony Riakiotakis
Date: Tue Feb 10 12:53:36 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB26a74c8e11aa7e4511117af5066aadc0b976259b
Fix error in last commit
===================================================================
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 63cb987..e9aeb04 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -366,7 +366,7 @@ void WM_widgets_draw(const bContext *C, wmWidgetMap *wmap,
bool in_scene)
{
for (widget = wgroup->widgets.first; widget;
widget = widget->next) {
if ((!(widget->flag &
WM_WIDGET_DRAW_HOVER) || (widget->flag & WM_WIDGET_HIGHLIGHT)) &&
- ((widget->flag &
WM_WIDGET_SCENE_DEPTH) == 0) == in_scene)
+ ((widget->flag &
WM_WIDGET_SCENE_DEPTH) != 0) == in_scene)
{
widget->draw(widget, C);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs