diff options
-rw-r--r-- | source/blender/editors/space_view3d/view3d_cursor_snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_cursor_snap.c b/source/blender/editors/space_view3d/view3d_cursor_snap.c index 06a37703648..9bbd90d2db6 100644 --- a/source/blender/editors/space_view3d/view3d_cursor_snap.c +++ b/source/blender/editors/space_view3d/view3d_cursor_snap.c @@ -879,7 +879,7 @@ static void v3d_cursor_snap_activate(void) static void v3d_cursor_snap_free(void) { SnapCursorDataIntern *data_intern = &g_data_intern; - if (data_intern->handle) { + if (data_intern->handle && G_MAIN->wm.first) { WM_paint_cursor_end(data_intern->handle); data_intern->handle = NULL; } |