Fix #126612: Area Join Exec Tag Source for Redraw

Non-interactive join - area_join_exec - needs to tag the source area
for redraw. Otherwise Outliner can attempt a partial redraw when a full
is needed, triggering an assert.

Pull Request: https://projects.blender.org/blender/blender/pulls/126615
This commit is contained in:
Harley Acheson
2024-08-21 23:39:11 +02:00
committed by Harley Acheson
parent 93546768ba
commit 9bbe669cad

View File

@@ -3706,6 +3706,8 @@ static int area_join_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
ED_area_tag_redraw(jd->sa1);
area_join_apply(C, op);
area_join_exit(C, op);
WM_event_add_notifier(C, NC_SCREEN | NA_EDITED, nullptr);