[Bf-blender-cvs] [6046d9f7154] blender2.8: Fix own error making outliner rename not emboss

Campbell Barton noreply at git.blender.org
Thu Jun 21 18:15:57 CEST 2018


Commit: 6046d9f71549ee72d26cba0af77a13ff9c53e23e
Author: Campbell Barton
Date:   Thu Jun 21 18:15:17 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6046d9f71549ee72d26cba0af77a13ff9c53e23e

Fix own error making outliner rename not emboss

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

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 5f97c7858af..75d9b256b91 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -2096,13 +2096,13 @@ void draw_outliner(const bContext *C)
 		outliner_draw_restrictbuts(block, scene, view_layer, ar, soops, &soops->tree);
 	}
 
+	UI_block_emboss_set(block, UI_EMBOSS);
+
 	/* draw edit buttons if nessecery */
 	if (te_edit) {
 		outliner_buttons(C, block, ar, te_edit);
 	}
 
-	UI_block_emboss_set(block, UI_EMBOSS);
-
 	UI_block_end(C, block);
 	UI_block_draw(C, block);
 }



More information about the Bf-blender-cvs mailing list