diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-06-21 23:31:01 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-06-21 23:31:01 +0300 |
commit | 28428b346243bc72ba4c7bc842362cb1cbec38e8 (patch) | |
tree | 3f662976c6e5ccf2e5a991416328215ee1155e0c /source/blender/makesdna | |
parent | 24146563a01665dca292f16cc1385c23fcb53c82 (diff) | |
parent | ad4f5092ecaf919e415fec4ca62b0172293a2075 (diff) |
Merge branch 'master' into soc-2019-openxr
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 17 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_movieclip_types.h | 13 |
2 files changed, 18 insertions, 12 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 0d87ae09943..a81bff60146 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -882,24 +882,17 @@ enum { MOD_MDEF_SURFACE = 1, }; -/* Is stored in ModifierData.runtime. */ -# -# -typedef struct ParticleSystemModifierDataRuntime { +typedef struct ParticleSystemModifierData { + ModifierData modifier; + + struct ParticleSystem *psys; /** Final Mesh - its topology may differ from orig mesh. */ struct Mesh *mesh_final; /** Original mesh that particles are attached to. */ struct Mesh *mesh_original; int totdmvert, totdmedge, totdmface; -} ParticleSystemModifierDataRuntime; - -typedef struct ParticleSystemModifierData { - ModifierData modifier; - - struct ParticleSystem *psys; - void *_pad1; short flag; - char _pad[6]; + char _pad[2]; } ParticleSystemModifierData; typedef enum { diff --git a/source/blender/makesdna/DNA_movieclip_types.h b/source/blender/makesdna/DNA_movieclip_types.h index c804a78eccb..efda24d6e0e 100644 --- a/source/blender/makesdna/DNA_movieclip_types.h +++ b/source/blender/makesdna/DNA_movieclip_types.h @@ -57,6 +57,17 @@ typedef struct MovieClipProxy { short build_tc_flag; } MovieClipProxy; +typedef struct MovieClip_RuntimeGPUTexture { + void *next, *prev; + MovieClipUser user; + /** Not written in file 2 = TEXTARGET_COUNT. */ + struct GPUTexture *gputexture[2]; +} MovieClip_RuntimeGPUTexture; + +typedef struct MovieClip_Runtime { + struct ListBase gputextures; +} MovieClip_Runtime; + typedef struct MovieClip { ID id; /** Animation data (must be immediately after id for utilities to use it). */ @@ -111,6 +122,8 @@ typedef struct MovieClip { /* color management */ ColorManagedColorspaceSettings colorspace_settings; + + struct MovieClip_Runtime runtime; } MovieClip; typedef struct MovieClipScopes { |