[Bf-blender-cvs] [37f9b915ace] soc-2020-outliner: Fix: Line highlight using wrong function

Nathan Craddock noreply at git.blender.org
Thu Aug 20 19:44:30 CEST 2020


Commit: 37f9b915acef3ecb49ab59b359fd8021fa485836
Author: Nathan Craddock
Date:   Thu Aug 20 11:44:13 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB37f9b915acef3ecb49ab59b359fd8021fa485836

Fix: Line highlight using wrong function

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

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 2f3bb019c20..f7ad689a375 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -3535,8 +3535,7 @@ static void outliner_draw_highlights_recursive(const ARegion *region,
     }
     else if (outliner_find_element_with_flag(&te->subtree, TSE_ACTIVE)) {
       /* Parent highlight for active element in collapsed subtree. */
-      immUniformColor4fv(col_highlight);
-      immRecti(pos, 0, start_y, end_x, start_y + UI_UNIT_Y);
+      draw_line_highlight(0, start_y, end_x, start_y + UI_UNIT_Y, col_highlight);
     }
   }
 }



More information about the Bf-blender-cvs mailing list