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.
This commit is contained in:
Nathan Craddock 2020-12-02 09:25:45 -07:00
parent 3fc178b19e
commit cba5137f32
Notes: blender-bot 2023-02-14 03:29:37 +01:00
Referenced by issue #83363, FBX frame rate 25 issue
Referenced by issue #83184, Strong Moiré pattern in EEVEE normals generated by the Brick Texture Node.
1 changed files with 1 additions and 1 deletions

View File

@ -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);