Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-02 16:56:16 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-02 17:00:52 +0300
commit4f4cea727efdeaf388de7ce84a6a6c399050c590 (patch)
tree005f1e06f339a9c27f9e568906812304a5af679e /source/blender/makesdna/DNA_object_types.h
parentb0037cd0b4a76596ddfa34b21c1618f68cbb79bd (diff)
Fix T63164: DNA size mismatches on 32bit, causing memory corruption and crashes.
Some alignment rules from Visual Studion on 32 bit are not taken into account, this fixes the structs to confirm. We now have static asserts to catch when such breakage happens in the future.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index e97ae722457..9f2118d9cc0 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -170,6 +170,7 @@ typedef struct Object_Runtime {
struct ObjectBBoneDeform *cached_bbone_deformation;
+ void *_pad1;
} Object_Runtime;
typedef struct Object {