"Fix" for [#30098] Particle rotation wrong / explode modifier
[blender-staging.git] / source / blender / blenloader / intern / readfile.c
index 6dc2dea44f0fab002f9649e40da89c0b86770717..95a76dac6167c82d4595a9ebf63a83dfb386a914 100644 (file)
@@ -13292,6 +13292,13 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                }
        }
 
+       {
+               /* Default for old files is to save particle rotations to pointcache */
+               ParticleSettings *part;
+               for (part = main->particle.first; part; part = part->id.next)
+                       part->flag |= PART_ROTATIONS;
+       }
+
        /* put compatibility code here until next subversion bump */
        {