From 0672afcf392a8dc84d218a97b82b664450ae4257 Mon Sep 17 00:00:00 2001 From: Chris Clyne Date: Tue, 20 Jun 2023 23:21:39 +0100 Subject: [PATCH] GooEngine: Fix crash in Show Fcurve operator --- source/blender/editors/interface/interface_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/interface/interface_ops.cc b/source/blender/editors/interface/interface_ops.cc index d777009fe5a..0bcfff574de 100644 --- a/source/blender/editors/interface/interface_ops.cc +++ b/source/blender/editors/interface/interface_ops.cc @@ -285,7 +285,7 @@ static int show_fcurve_in_editor_exec(bContext *C, wmOperator *op) /* Find any open FCurve Editor for Operator context */ bScreen *screen = CTX_wm_screen(C); - ScrArea *graph_area; + ScrArea *graph_area = nullptr; LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { if (area->spacetype == SPACE_GRAPH) { SpaceGraph *space = (SpaceGraph *)area->spacedata.first;