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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform_gizmo_3d.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c
index 4e964c3f2b2..a3f620fb3fe 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -93,8 +93,6 @@
#include "DEG_depsgraph_query.h"
-#include "wm.h"
-
/* return codes for select, and drawing flags */
#define MAN_TRANS_X (1 << 0)
@@ -1244,8 +1242,7 @@ static void gizmo_xform_message_subscribe(
void drawDial3d(const TransInfo *t)
{
- wmGizmo *gz = wm_gizmomap_highlight_get(t->ar->gizmo_map);
- if (t->mode == TFM_ROTATION && t->spacetype == SPACE_VIEW3D && gz != NULL) {
+ if (t->mode == TFM_ROTATION && t->spacetype == SPACE_VIEW3D) {
float mat_basis[4][4];
float mat_final[4][4];
float color[4];