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-11-02 11:52:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-02 11:52:01 +0300
commit21e168069df1134e8c6b01bf01374849ddc43fa1 (patch)
tree90f254ddf10d395eb2961545b12aa72d0d21b2c6 /source/blender/draw
parent8ca6e51adea3d99819711e91998244d122f03b56 (diff)
parent69a7734b75c3044b760061a1141ba6dc95e419a6 (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_view.c b/source/blender/draw/intern/draw_view.c
index bbd345271b1..de43d2aba0f 100644
--- a/source/blender/draw/intern/draw_view.c
+++ b/source/blender/draw/intern/draw_view.c
@@ -40,6 +40,7 @@
#include "WM_types.h"
+#include "BKE_global.h"
#include "BKE_object.h"
#include "BKE_paint.h"
@@ -63,6 +64,10 @@ void DRW_draw_region_info(void)
static bool is_cursor_visible(const DRWContextState *draw_ctx, Scene *scene, ViewLayer *view_layer)
{
+ if (G.moving & G_TRANSFORM_CURSOR) {
+ return true;
+ }
+
View3D *v3d = draw_ctx->v3d;
if ((v3d->flag2 & V3D_HIDE_OVERLAYS) || (v3d->overlay.flag & V3D_OVERLAY_HIDE_CURSOR)) {
return false;