Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenloader / intern / readfile.c
index b75a2de935a77079cc6cce755b07cc5b018f7cf9..c20246bcbfbf1c2e87d54913c1fca792fe34e58e 100644 (file)
@@ -4406,6 +4406,9 @@ static void direct_link_particlesettings(FileData *fd, ParticleSettings *part)
        part->roughcurve = newdataadr(fd, part->roughcurve);
        if (part->roughcurve)
                direct_link_curvemapping(fd, part->roughcurve);
+       part->twistcurve = newdataadr(fd, part->twistcurve);
+       if (part->twistcurve)
+               direct_link_curvemapping(fd, part->twistcurve);
 
        part->effector_weights = newdataadr(fd, part->effector_weights);
        if (!part->effector_weights)