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:
authorJacques Lucke <jacques@blender.org>2021-11-10 13:47:36 +0300
committerJacques Lucke <jacques@blender.org>2021-11-10 13:47:36 +0300
commitc6f85d7a8dce7b39cb7cb895a7dd918fe3bcb05a (patch)
treef3bee8dd22e8faa950806577a4a4521a30ee0c1d /source/blender/makesdna/DNA_node_types.h
parent25f44ab63162f060da818f06304eb608b5b3fe23 (diff)
improve handling of incompatible enumstemp-enum-socket
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index e2d55f006f4..bf4a54f904a 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -687,7 +687,8 @@ typedef struct bNodeSocketValueMaterial {
/* TODO: Add something to help with versioning for built-in enums. */
typedef struct bNodeSocketValueEnum {
int value;
- char _pad[4];
+ char targets_are_invalid;
+ char _pad[3];
/**
* Possible items for the enum. This is only runtime data and is not owned by the socket.
*/