[Bf-blender-cvs] [6932eaa2bca] blender2.8: Revert "tmp"

mano-wii noreply at git.blender.org
Thu Oct 4 18:55:40 CEST 2018


Commit: 6932eaa2bcaff0649c82f6b31a205319c966bd15
Author: mano-wii
Date:   Thu Oct 4 13:53:39 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB6932eaa2bcaff0649c82f6b31a205319c966bd15

Revert "tmp"

This reverts commit 9d8c05f7ecf6c20d48c3b151653bab5cc1b988aa.

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

M	source/blender/editors/transform/transform_gizmo_3d.c

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

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];



More information about the Bf-blender-cvs mailing list