From e85d7d5a2880c3e9721eafa5a72ce249c5f131f7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 16 Dec 2021 00:15:13 +1100 Subject: Fix T93971: "Center Cursor & Frame All" fails to redraw bda9e4238a07a72c26598ea9025e00f6ca896750 changed smooth-view not to redraw when there were no changes made. Redrawing is needed for repositioning the cursor. Subscribe to changes to the 3d cursor to ensure all view ports are updated (not just the current one). --- source/blender/editors/space_view3d/space_view3d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 6cc15c638a2..8822ea6af3b 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -1275,6 +1275,7 @@ static void view3d_main_region_message_subscribe(const wmRegionMessageSubscribeP &RNA_Object, &RNA_UnitSettings, /* grid-floor */ + &RNA_View3DCursor, &RNA_View3DOverlay, &RNA_View3DShading, &RNA_World, -- cgit v1.2.3