diff options
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 64fdbbdd773..3511480821a 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1509,7 +1509,7 @@ void ED_region_init(bContext *C, ARegion *ar) void ED_region_cursor_set(wmWindow *win, ScrArea *sa, ARegion *ar) { - if (ar->type && ar->type->cursor) { + if (ar && sa && ar->type && ar->type->cursor) { ar->type->cursor(win, sa, ar); } else { |