Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2016-10-15 19:57:32 +0300
committerJulian Eisel <eiseljulian@gmail.com>2016-10-15 19:59:31 +0300
commit5e428b3b3ff040912a20fcc4b504f882940119c7 (patch)
tree3a71c9d893b7f11c1d0f80c01b2c3f907e8d3ad4 /source/blender/editors
parentfcff9843384ff72a9549cfb301bdbd418aa12d1b (diff)
Fix unitialized variable use
Own mistake in ae8e8454700. Patch by @efi0ng, thanks!
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index bfb87b6cd7b..7890ce1f278 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -187,7 +187,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
const float my = UI_view2d_region_to_view_y(&ar->v2d, event->mval[1]);
TreeElement *hovered_te = outliner_find_item_at_y(soops, &soops->tree, my);
- bool changed;
+ bool changed = false;
if (!hovered_te || !(hovered_te->store_elem->flag & TSE_HIGHLIGHTED)) {
changed = outliner_set_flag(soops, &soops->tree, TSE_HIGHLIGHTED, false);