[Bf-blender-cvs] [e85d7d5a288] master: Fix T93971: "Center Cursor & Frame All" fails to redraw

Campbell Barton noreply at git.blender.org
Wed Dec 15 14:22:57 CET 2021


Commit: e85d7d5a2880c3e9721eafa5a72ce249c5f131f7
Author: Campbell Barton
Date:   Thu Dec 16 00:15:13 2021 +1100
Branches: master
https://developer.blender.org/rBe85d7d5a2880c3e9721eafa5a72ce249c5f131f7

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



More information about the Bf-blender-cvs mailing list