[Bf-blender-cvs] [4c0232bdf13] temp-workspace-object-mode-removal: Fixing builds for 2.8 - outliner typo

Dalai Felinto noreply at git.blender.org
Thu Feb 8 11:06:17 CET 2018


Commit: 4c0232bdf138b4d383baeb23b2e7196d884fc0b4
Author: Dalai Felinto
Date:   Thu Feb 8 08:03:35 2018 -0200
Branches: temp-workspace-object-mode-removal
https://developer.blender.org/rB4c0232bdf138b4d383baeb23b2e7196d884fc0b4

Fixing builds for 2.8 - outliner typo

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

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 3908cdaad0c..4308a795a9c 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1957,7 +1957,7 @@ void draw_outliner(const bContext *C)
 	block = UI_block_begin(C, ar, __func__, UI_EMBOSS);
 	outliner_draw_tree((bContext *)C, block, scene, view_layer, ar, soops, has_restrict_icons, &te_edit);
 
-	if (soops->outlinevis, SO_DATABLOCKS) {
+	if (soops->outlinevis == SO_DATABLOCKS) {
 		/* draw rna buttons */
 		outliner_draw_rnacols(ar, sizex_rna);
 		outliner_draw_rnabuts(block, ar, soops, sizex_rna, &soops->tree);



More information about the Bf-blender-cvs mailing list