[Bf-blender-cvs] [327802b86f6] master: DNA: Remove unnecessary studio light & light probe struct paddings

Julian Eisel noreply at git.blender.org
Mon Sep 19 12:17:17 CEST 2022


Commit: 327802b86f6b4dd0614d67796cc8ef02f4363a9b
Author: Julian Eisel
Date:   Fri Sep 16 11:12:31 2022 +0200
Branches: master
https://developer.blender.org/rB327802b86f6b4dd0614d67796cc8ef02f4363a9b

DNA: Remove unnecessary studio light & light probe struct paddings

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

M	source/blender/makesdna/DNA_lightprobe_types.h
M	source/blender/makesdna/DNA_userdef_types.h

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

diff --git a/source/blender/makesdna/DNA_lightprobe_types.h b/source/blender/makesdna/DNA_lightprobe_types.h
index d6afaf33052..5b5bc4c7392 100644
--- a/source/blender/makesdna/DNA_lightprobe_types.h
+++ b/source/blender/makesdna/DNA_lightprobe_types.h
@@ -64,7 +64,6 @@ typedef struct LightProbe {
 
   /* Runtime display data */
   float distfalloff, distgridinf;
-  char _pad[8];
 } LightProbe;
 
 /* Probe->type */
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 39fb3690da4..ed4bea97aa0 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -581,7 +581,6 @@ typedef struct bUserAssetLibrary {
 typedef struct SolidLight {
   int flag;
   float smooth;
-  char _pad0[8];
   float col[4], spec[4], vec[4];
 } SolidLight;



More information about the Bf-blender-cvs mailing list