Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_particlesystem.cc
| Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | static void blendRead(BlendDataReader *reader, ModifierData *md) | ||||
| psmd->mesh_original = nullptr; | psmd->mesh_original = nullptr; | ||||
| /* This is written as part of ob->particlesystem. */ | /* This is written as part of ob->particlesystem. */ | ||||
| BLO_read_data_address(reader, &psmd->psys); | BLO_read_data_address(reader, &psmd->psys); | ||||
| psmd->flag &= ~eParticleSystemFlag_psys_updated; | psmd->flag &= ~eParticleSystemFlag_psys_updated; | ||||
| psmd->flag |= eParticleSystemFlag_file_loaded; | psmd->flag |= eParticleSystemFlag_file_loaded; | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_ParticleSystem = { | ModifierTypeInfo modifierType_ParticleSystem = { | ||||
| /* name */ "ParticleSystem", | /* name */ N_("ParticleSystem"), | ||||
| /* structName */ "ParticleSystemModifierData", | /* structName */ "ParticleSystemModifierData", | ||||
| /* structSize */ sizeof(ParticleSystemModifierData), | /* structSize */ sizeof(ParticleSystemModifierData), | ||||
| /* srna */ &RNA_ParticleSystemModifier, | /* srna */ &RNA_ParticleSystemModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping | | /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping | | ||||
| eModifierTypeFlag_UsesPointCache | eModifierTypeFlag_UsesPointCache | ||||
| #if 0 | #if 0 | ||||
| | eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode | | eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_EnableInEditmode | ||||
| Show All 27 Lines | |||||