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:
authorClément Foucault <foucault.clem@gmail.com>2017-02-15 20:17:50 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-02-15 20:18:43 +0300
commit69b96e27ee9d0282b295081462e9ac0a2f75a30e (patch)
tree100f5fd15259d95228229825861cb41221221409 /source/blender/makesdna
parent574d6011f41f5c914f62e144cae1a5e3fe540de6 (diff)
Collections Settings: Added Bool type.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_layer_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h
index 5d8bff3ef1d..de2bd51f647 100644
--- a/source/blender/makesdna/DNA_layer_types.h
+++ b/source/blender/makesdna/DNA_layer_types.h
@@ -127,6 +127,12 @@ typedef struct CollectionEnginePropertyInt {
int pad;
} CollectionEnginePropertyInt;
+typedef struct CollectionEnginePropertyBool {
+ struct CollectionEngineProperty data;
+ int value;
+ int pad;
+} CollectionEnginePropertyBool;
+
typedef struct CollectionEnginePropertyFloat {
struct CollectionEngineProperty data;
float value;
@@ -150,6 +156,7 @@ enum {
typedef enum CollectionEnginePropertyType {
COLLECTION_PROP_TYPE_FLOAT = 0,
COLLECTION_PROP_TYPE_INT = 1,
+ COLLECTION_PROP_TYPE_BOOL = 2,
} CollectionEnginePropertyType;
/* CollectionEngineSettings->type */