diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 11 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_cloth_types.h | 5 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 12 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_pointcache_types.h | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 2 |
6 files changed, 16 insertions, 21 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 265b16992d8..eb02352f49b 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -225,9 +225,6 @@ typedef struct IDOverrideLibrary { /** List of IDOverrideProperty structs. */ ListBase properties; - short flag; - char _pad[6]; - /* Read/write data. */ /* Temp ID storing extra override data (used for differential operations only currently). * Always NULL outside of read/write context. */ @@ -236,10 +233,6 @@ typedef struct IDOverrideLibrary { IDOverrideLibraryRuntime *runtime; } IDOverrideLibrary; -enum eOverrideLibrary_Flag { - OVERRIDE_LIBRARY_AUTO = 1 << 0, /* Allow automatic generation of overriding rules. */ -}; - /** * About Unique identifier. * @@ -540,10 +533,6 @@ typedef enum ID_Type { #define ID_IS_OVERRIDE_LIBRARY_TEMPLATE(_id) \ (((ID *)(_id))->override_library != NULL && ((ID *)(_id))->override_library->reference == NULL) -#define ID_IS_OVERRIDE_LIBRARY_AUTO(_id) \ - (!ID_IS_LINKED((_id)) && ID_IS_OVERRIDE_LIBRARY((_id)) && \ - (((ID *)(_id))->override_library->flag & OVERRIDE_LIBRARY_AUTO)) - /* Check whether datablock type is covered by copy-on-write. */ #define ID_TYPE_IS_COW(_id_type) (!ELEM(_id_type, ID_BR, ID_PAL, ID_IM)) diff --git a/source/blender/makesdna/DNA_cloth_types.h b/source/blender/makesdna/DNA_cloth_types.h index 8f3a26cf9c0..9d9ee711339 100644 --- a/source/blender/makesdna/DNA_cloth_types.h +++ b/source/blender/makesdna/DNA_cloth_types.h @@ -109,8 +109,11 @@ typedef struct ClothSimSettings { pressure=( (current_volume/target_volume) - 1 + uniform_pressure_force) * pressure_factor */ float pressure_factor; + /* Density of the fluid inside or outside the object for use in the hydrostatic pressure + * gradient. */ + float fluid_density; short vgroup_pressure; - char _pad7[2]; + char _pad7[6]; /* XXX various hair stuff * should really be separate, this struct is a horrible mess already diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 125423cd061..674999ab465 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -24,6 +24,8 @@ #include "DNA_defs.h" #include "DNA_listBase.h" +struct LatticeDeformData; + /* WARNING ALERT! TYPEDEF VALUES ARE WRITTEN IN FILES! SO DO NOT CHANGE! * (ONLY ADD NEW ITEMS AT THE END) */ @@ -445,8 +447,8 @@ typedef struct LatticeGpencilModifierData { float strength; /** Custom index for passes. */ int layer_pass; - /** Runtime only (LatticeDeformData). */ - void *cache_data; + /** Runtime only. */ + struct LatticeDeformData *cache_data; } LatticeGpencilModifierData; typedef enum eLatticeGpencil_Flag { @@ -655,12 +657,12 @@ typedef enum eSmoothGpencil_Flag { typedef struct ArmatureGpencilModifierData { GpencilModifierData modifier; - /** Deformflag replaces armature->deformflag. */ + /** #eArmature_DeformFlag use instead of #bArmature.deformflag. */ short deformflag, multi; int _pad; struct Object *object; - /** Stored input of previous modifier, for vertexgroup blending. */ - float *prevCos; + /** Stored input of previous modifier, for vertex-group blending. */ + float (*vert_coords_prev)[3]; /** MAX_VGROUP_NAME. */ char vgname[64]; diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index a2b96ac2772..1413db4baea 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -693,12 +693,12 @@ enum { typedef struct ArmatureModifierData { ModifierData modifier; - /** Deformflag replaces armature->deformflag. */ + /** #eArmature_DeformFlag use instead of #bArmature.deformflag. */ short deformflag, multi; char _pad2[4]; struct Object *object; - /** Stored input of previous modifier, for vertexgroup blending. */ - float *prevCos; + /** Stored input of previous modifier, for vertex-group blending. */ + float (*vert_coords_prev)[3]; /** MAX_VGROUP_NAME. */ char defgrp_name[64]; } ArmatureModifierData; diff --git a/source/blender/makesdna/DNA_pointcache_types.h b/source/blender/makesdna/DNA_pointcache_types.h index fcdc22ca56d..3c7fc9031de 100644 --- a/source/blender/makesdna/DNA_pointcache_types.h +++ b/source/blender/makesdna/DNA_pointcache_types.h @@ -50,6 +50,7 @@ extern "C" { #define BPHYS_TOT_DATA 8 #define BPHYS_EXTRA_FLUID_SPRINGS 1 +#define BPHYS_EXTRA_CLOTH_ACCELERATION 2 typedef struct PTCacheExtra { struct PTCacheExtra *next, *prev; diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index e1e8d808c60..a07b8f81d96 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -265,7 +265,7 @@ typedef struct wmWindow { short modalcursor; /** Cursor grab mode. */ short grabcursor; - /** Internal: tag this for extra mousemove event, + /** Internal: tag this for extra mouse-move event, * makes cursors/buttons active on UI switching. */ char addmousemove; char tag_cursor_refresh; |