Fix #32667: Curve softbodies doesn't render animation (cycles)
[blender.git] / source / blender / editors / object / object_edit.c
index f95a186990e26854e4716cc7c11e79ec8d47bb0a..bdc7699ee964f94029ce439d1ae6c51bb481d932 100644 (file)
@@ -957,7 +957,7 @@ static void copy_attr(Main *bmain, Scene *scene, View3D *v3d, short event)
                                        base->object->softflag = ob->softflag;
                                        if (base->object->soft) sbFree(base->object->soft);
                                        
                                        base->object->softflag = ob->softflag;
                                        if (base->object->soft) sbFree(base->object->soft);
                                        
-                                       base->object->soft = copy_softbody(ob->soft);
+                                       base->object->soft = copy_softbody(ob->soft, FALSE);
 
                                        if (!modifiers_findByType(base->object, eModifierType_Softbody)) {
                                                BLI_addhead(&base->object->modifiers, modifier_new(eModifierType_Softbody));
 
                                        if (!modifiers_findByType(base->object, eModifierType_Softbody)) {
                                                BLI_addhead(&base->object->modifiers, modifier_new(eModifierType_Softbody));