Fix T93971: "Center Cursor & Frame All" fails to redraw

bda9e4238a 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).
This commit is contained in:
Campbell Barton
2021-12-16 00:15:13 +11:00
parent c101ded463
commit e85d7d5a28

View File

@@ -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,