[Bf-blender-cvs] [578ead77f98] master: remove unused T_LOCAL_MATRIX

Philipp Oeser noreply at git.blender.org
Mon May 6 13:49:22 CEST 2019


Commit: 578ead77f98824ecab169fad232e1a441d3194dc
Author: Philipp Oeser
Date:   Mon May 6 11:15:30 2019 +0200
Branches: master
https://developer.blender.org/rB578ead77f98824ecab169fad232e1a441d3194dc

remove unused T_LOCAL_MATRIX

- was introduced in rB844a17a3d9d2 but apparently never used
- spotted while looking into T57767

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4805

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

M	source/blender/editors/transform/transform.h

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

diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index 268af8dff45..0e2d6dcc493 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -525,7 +525,7 @@ typedef struct TransDataContainer {
   struct Object *obedit;
 
   /**
-   * Use when #T_LOCAL_MATRIX is set.
+   * Store matrix, this avoids having to have duplicate check all over
    * Typically: 'obedit->obmat' or 'poseobj->obmat', but may be used elsewhere too.
    */
   bool use_local_mat;
@@ -739,10 +739,8 @@ enum {
   T_CURSOR = 1 << 5,
   /** Transform points, having no rotation/scale. */
   T_POINTS = 1 << 6,
-  /**
-   * Apply matrix #TransDataContainer.matrix, this avoids having to have duplicate check all over
-   * that happen to apply to specific modes (edit & pose for eg). */
-  T_LOCAL_MATRIX = 1 << 7,
+
+  /* empty slot - (1 << 7) */
 
   /** restrictions flags */
   T_NO_CONSTRAINT = 1 << 8,



More information about the Bf-blender-cvs mailing list