[Bf-blender-cvs] [b9f5e6c0b4c] blender-v3.0-release: Fix T93971: "Center Cursor & Frame All" fails to redraw

Campbell Barton noreply at git.blender.org
Tue Jan 11 09:32:59 CET 2022


Commit: b9f5e6c0b4cb73a5641e24ef1c18dc94fc91a413
Author: Campbell Barton
Date:   Thu Dec 16 00:15:13 2021 +1100
Branches: blender-v3.0-release
https://developer.blender.org/rBb9f5e6c0b4cb73a5641e24ef1c18dc94fc91a413

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).

===================================================================

M	source/blender/editors/space_view3d/space_view3d.c

===================================================================

diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index bf16dfb469c..f0da7065bff 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -1296,6 +1296,7 @@ static void view3d_main_region_message_subscribe(const wmRegionMessageSubscribeP
       &RNA_Object,
       &RNA_UnitSettings, /* grid-floor */
 
+      &RNA_View3DCursor,
       &RNA_View3DOverlay,
       &RNA_View3DShading,
       &RNA_World,



More information about the Bf-blender-cvs mailing list