diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-18 12:34:24 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-22 16:12:03 +0300 |
commit | fffe34531d0ed4b858afcabe4ab38b1b9698ed70 (patch) | |
tree | 5ef9cb2189d339cb1522b0e9ebebc17ec354beb0 /source/blender/physics/BPH_mass_spring.h | |
parent | c2fa82e7a417ad98d0dd2ccd7aa084cb03ed11a1 (diff) |
Cloth: Move away from scene stored in cloth modifier data
Diffstat (limited to 'source/blender/physics/BPH_mass_spring.h')
-rw-r--r-- | source/blender/physics/BPH_mass_spring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/physics/BPH_mass_spring.h b/source/blender/physics/BPH_mass_spring.h index e89aec1456e..fd648222174 100644 --- a/source/blender/physics/BPH_mass_spring.h +++ b/source/blender/physics/BPH_mass_spring.h @@ -40,6 +40,7 @@ struct Implicit_Data; struct Object; struct ClothModifierData; struct ListBase; +struct Scene; struct VoxelData; typedef enum eMassSpringSolverStatus { @@ -55,7 +56,7 @@ int BPH_mass_spring_solver_numvert(struct Implicit_Data *id); int BPH_cloth_solver_init(struct Object *ob, struct ClothModifierData *clmd); void BPH_cloth_solver_free(struct ClothModifierData *clmd); -int BPH_cloth_solve(struct Object *ob, float frame, struct ClothModifierData *clmd, struct ListBase *effectors); +int BPH_cloth_solve(struct Scene *scene, struct Object *ob, float frame, struct ClothModifierData *clmd, struct ListBase *effectors); void BKE_cloth_solver_set_positions(struct ClothModifierData *clmd); #ifdef __cplusplus |