Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-15 16:15:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-15 16:15:13 +0300
commite85d7d5a2880c3e9721eafa5a72ce249c5f131f7 (patch)
tree67bf12f22735a2b18b775643be2274f845262129
parentc101ded46327d7b423c8f43297ccedd01ca9a406 (diff)
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).
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c1
1 files changed, 1 insertions, 0 deletions
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,