Cleanup: BKE_library: remove 'test' param of id_copy.
[blender.git] / source / blender / blenkernel / intern / particle_system.c
index 2b2b57b50790609a18235fa0c2597e16acfc51a5..008ef0b02bffca2d119920e268f9572e73e19489 100644 (file)
@@ -3200,8 +3200,7 @@ static void do_hair_dynamics(ParticleSimulationData *sim)
                    LIB_ID_CREATE_NO_MAIN |
                    LIB_ID_CREATE_NO_USER_REFCOUNT |
                    LIB_ID_CREATE_NO_DEG_TAG |
-                   LIB_ID_COPY_NO_PREVIEW,
-                   false);
+                   LIB_ID_COPY_NO_PREVIEW);
        deformedVerts = BKE_mesh_vertexCos_get(psys->hair_out_mesh, NULL);
        clothModifier_do(psys->clmd, sim->depsgraph, sim->scene, sim->ob, psys->hair_in_mesh, deformedVerts);
        BKE_mesh_apply_vert_coords(psys->hair_out_mesh, deformedVerts);
@@ -4199,8 +4198,7 @@ static ParticleSettings *particle_settings_localize(ParticleSettings *particle_s
                       (LIB_ID_CREATE_NO_MAIN |
                        LIB_ID_CREATE_NO_USER_REFCOUNT |
                        LIB_ID_CREATE_NO_DEG_TAG |
-                       LIB_ID_COPY_CACHES),
-                      false);
+                       LIB_ID_COPY_CACHES));
        return particle_settings_local;
 }