diff options
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index 5e6fdad8509..58dcce72823 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -858,7 +858,8 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) /* Ensure that particle systems generated by fluid modifier have correct phystype. */ LISTBASE_FOREACH (ParticleSettings *, part, &bmain->particles) { - if ELEM (part->type, PART_FLUID_FLIP, PART_FLUID_SPRAY, PART_FLUID_BUBBLE, PART_FLUID_FOAM) { + if (ELEM( + part->type, PART_FLUID_FLIP, PART_FLUID_SPRAY, PART_FLUID_BUBBLE, PART_FLUID_FOAM)) { part->phystype = PART_PHYS_NO; } } @@ -876,4 +877,4 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) { /* Keep this block, even when empty. */ } -}
\ No newline at end of file +} |