[Bf-blender-cvs] [af13168a3f4] master: Cleanup: remove unused SpaceImage.curtile

Campbell Barton noreply at git.blender.org
Thu Sep 30 09:33:26 CEST 2021


Commit: af13168a3f4ab67b66436a706e7069a8ba208c41
Author: Campbell Barton
Date:   Thu Sep 30 17:32:48 2021 +1000
Branches: master
https://developer.blender.org/rBaf13168a3f4ab67b66436a706e7069a8ba208c41

Cleanup: remove unused SpaceImage.curtile

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

M	source/blender/makesdna/DNA_space_types.h

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

diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 70a1ca63e21..aa74e7712c0 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1198,13 +1198,10 @@ typedef struct SpaceImage {
   char mode_prev;
 
   char pin;
-  char _pad1;
-  /**
-   * The currently active tile of the image when tile is enabled,
-   * is kept in sync with the active faces tile.
-   */
-  short curtile;
-  short lock;
+
+  char pixel_snap_mode;
+
+  char lock;
   /** UV draw type. */
   char dt_uv;
   /** Sticky selection type. */
@@ -1212,10 +1209,9 @@ typedef struct SpaceImage {
   char dt_uvstretch;
   char around;
 
-  int flag;
+  char _pad1[3];
 
-  char pixel_snap_mode;
-  char _pad2[7];
+  int flag;
 
   float uv_opacity;



More information about the Bf-blender-cvs mailing list