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:
authorNathan Craddock <nzcraddock@gmail.com>2020-12-02 19:25:45 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-12-02 19:25:45 +0300
commitcba5137f32f925d8216288ef6708707e98f5aef0 (patch)
tree24148c1888c37568537f7468caa7f8a75243ed25
parent3fc178b19e4c11ac384731c4088b2bd3fa809794 (diff)
Fix crash in outliner on cursor hover
The previous commit surfaced a bug introduced in rBab4654cdfe8f in which a boolean wasn't initialized to false.
-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 6c0759b9842..a1ff6193cd0 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -118,7 +118,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
space_outliner, &space_outliner->tree, view_mval[1]);
TreeElement *icon_te = NULL;
- bool is_over_icon;
+ bool is_over_icon = false;
if (hovered_te) {
icon_te = outliner_find_item_at_x_in_row(
space_outliner, hovered_te, view_mval[0], NULL, &is_over_icon);