[Bf-blender-cvs] [fba35a02c6a] blender-v2.92-release: Fix padding issue in DNA

Sergey Sharybin noreply at git.blender.org
Mon Jan 25 11:36:04 CET 2021


Commit: fba35a02c6a8b722984ea9a9572cfbd1cb65d6ad
Author: Sergey Sharybin
Date:   Mon Jan 25 11:35:29 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rBfba35a02c6a8b722984ea9a9572cfbd1cb65d6ad

Fix padding issue in DNA

Was introduced in the previous change in the image.

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

M	source/blender/makesdna/DNA_image_types.h

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

diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index 5db30b70449..b1d752d6197 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -158,7 +158,7 @@ typedef struct Image {
   short gpu_pass;
   short gpu_layer;
   short gpu_view;
-  char _pad2[6];
+  char _pad2[4];
 
   /** Deprecated. */
   struct PackedFile *packedfile DNA_DEPRECATED;



More information about the Bf-blender-cvs mailing list