[Bf-blender-cvs] [c5c3fa3eacb] blender2.8: Fix compiler warning: Uninitialised var
Joshua Leung
noreply at git.blender.org
Tue May 1 16:22:44 CEST 2018
Commit: c5c3fa3eacb32b6e9f8ece47d1c69f274b9070c0
Author: Joshua Leung
Date: Tue May 1 16:22:29 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc5c3fa3eacb32b6e9f8ece47d1c69f274b9070c0
Fix compiler warning: Uninitialised var
===================================================================
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 6875971de24..25e40ccf6e5 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1596,7 +1596,7 @@ static void outliner_draw_hierarchy_lines_recursive(unsigned pos, SpaceOops *soo
const unsigned char grayed_alpha = col[3] / 2;
/* For vertical lines between objects. */
- y1 = *starty;
+ y1 = y2 = *starty;
for (te = lb->first; te; te = te->next) {
bool draw_childs_grayed_out = draw_grayed_out || (te->drag_data != NULL);
tselem = TREESTORE(te);
More information about the Bf-blender-cvs
mailing list