diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 03:49:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 03:52:24 +0400 |
commit | e71f2fc3baff2743217d9e2331ed55e2f165cf5a (patch) | |
tree | 0b7e88a55ce287077dbdb3b70e6cfab659c12ee6 /source/blender/blenloader | |
parent | e827d904ae36a1b260ca2bfb04df23077edf66f4 (diff) |
Cleanup
Diffstat (limited to 'source/blender/blenloader')
-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; + } } } } |