[Bf-blender-cvs] [ad0753218fb] blender2.8: Manipulators: removed unused structure member

Ines Almeida noreply at git.blender.org
Mon Apr 23 01:02:22 CEST 2018


Commit: ad0753218fbd9264ab7afc9eec955d789e860f5c
Author: Ines Almeida
Date:   Sun Mar 11 16:29:36 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBad0753218fbd9264ab7afc9eec955d789e860f5c

Manipulators: removed unused structure member

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

M	source/blender/makesdna/DNA_view3d_types.h

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

diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index d2bac12e9c8..7767f12f3a7 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -121,7 +121,8 @@ typedef struct RegionView3D {
 	/* min/max dot product on twmat xyz axis. */
 	float tw_axis_min[3], tw_axis_max[3];
 	float tw_axis_matrix[3][3];
-	char _pad[4];
+
+	float gridview;
 
 	float viewquat[4];			/* view rotation, must be kept normalized */
 	float dist;					/* distance from 'ofs' along -viewinv[2] vector, where result is negative as is 'ofs' */
@@ -147,10 +148,6 @@ typedef struct RegionView3D {
 	float lviewquat[4];
 	short lpersp, lview; /* lpersp can never be set to 'RV3D_CAMOB' */
 
-	float gridview;
-	float tw_idot[3];  /* manipulator runtime: (1 - dot) product with view vector (used to check view alignment) */
-
-
 	/* active rotation from NDOF or elsewhere */
 	float rot_angle;
 	float rot_axis[3];



More information about the Bf-blender-cvs mailing list