diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-12-02 19:25:45 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-12-02 19:25:45 +0300 |
commit | cba5137f32f925d8216288ef6708707e98f5aef0 (patch) | |
tree | 24148c1888c37568537f7468caa7f8a75243ed25 | |
parent | 3fc178b19e4c11ac384731c4088b2bd3fa809794 (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.c | 2 |
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); |