Commit: 90c60bb0ce8e1b3e567a242f8119198c8073c511
Author: Nathan Craddock
Date:   Thu Aug 6 13:59:31 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB90c60bb0ce8e1b3e567a242f8119198c8073c511

Outliner: Show mode icon on hover

Swap the dot out for the mode icon on hover. Based on studio feedback.
Not sure if it should be only hover on the icon, or hover on the whole
row.

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

M       source/blender/editors/space_outliner/outliner_draw.c

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

diff --git a/source/blender/editors/space_outliner/outliner_draw.c 
b/source/blender/editors/space_outliner/outliner_draw.c
index 67dca51ac6c..e7de280753a 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1999,7 +1999,8 @@ static void outliner_draw_mode_column_toggle(uiBlock 
*block,
         but = uiDefIconBut(block,
                            UI_BTYPE_ICON_TOGGLE,
                            0,
-                           ICON_DOT,
+                           tselem->flag & TSE_HIGHLIGHTED ? 
outliner_get_mode_icon(active_mode) :
+                                                            ICON_DOT,
                            0,
                            te->ys,
                            UI_UNIT_X,

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

Reply via email to