diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_270.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 6f8919c3693..8e760a9c9f6 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -366,9 +366,10 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) for (md = ob->modifiers.first; md; md = md->next) { if (md->type == eModifierType_ParticleSystem) { - ParticleSystemModifierData *pmd = (ParticleSystemModifierData*) md; - if (pmd->psys && pmd->psys->clmd) + ParticleSystemModifierData *pmd = (ParticleSystemModifierData *)md; + if (pmd->psys && pmd->psys->clmd) { pmd->psys->clmd->sim_parms->vel_damping = 1.0f; + } } } } |