Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Show First 20 Lines • Show All 978 Lines • ▼ Show 20 Lines | |||||
| enum { | enum { | ||||
| MOD_MDEF_INVERT_VGROUP = (1 << 0), | MOD_MDEF_INVERT_VGROUP = (1 << 0), | ||||
| MOD_MDEF_DYNAMIC_BIND = (1 << 1), | MOD_MDEF_DYNAMIC_BIND = (1 << 1), | ||||
| }; | }; | ||||
| typedef struct ParticleSystemModifierData { | typedef struct ParticleSystemModifierData { | ||||
| ModifierData modifier; | ModifierData modifier; | ||||
| /* NOTE: Storing the particle system pointer here is very weak, as it prevents modfiers' data | /** | ||||
| * \note Storing the particle system pointer here is very weak, as it prevents modifiers' data | |||||
| * copying to be self-sufficient (extra external code needs to ensure the pointer remains valid | * copying to be self-sufficient (extra external code needs to ensure the pointer remains valid | ||||
| * when the modifier data is copied from one object to another). See e.g. | * when the modifier data is copied from one object to another). See e.g. | ||||
| * `BKE_object_copy_particlesystems` or `BKE_object_copy_modifier`. */ | * `BKE_object_copy_particlesystems` or `BKE_object_copy_modifier`. | ||||
| */ | |||||
| struct ParticleSystem *psys; | struct ParticleSystem *psys; | ||||
| /** Final Mesh - its topology may differ from orig mesh. */ | /** Final Mesh - its topology may differ from orig mesh. */ | ||||
| struct Mesh *mesh_final; | struct Mesh *mesh_final; | ||||
| /** Original mesh that particles are attached to. */ | /** Original mesh that particles are attached to. */ | ||||
| struct Mesh *mesh_original; | struct Mesh *mesh_original; | ||||
| int totdmvert, totdmedge, totdmface; | int totdmvert, totdmedge, totdmface; | ||||
| short flag; | short flag; | ||||
| char _pad[2]; | char _pad[2]; | ||||
| ▲ Show 20 Lines • Show All 1,343 Lines • Show Last 20 Lines | |||||