Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-15 17:15:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-15 18:20:02 +0300
commitfda05127dbaa6545eaaf4b307769e00cf5ca504a (patch)
treef8eed4f6ed8b8a3a311808a1ca54ee85448f2b47 /source/blender/editors/physics/physics_intern.h
parent5d879c5d42f3d7e80063ef2fb200342dd0939818 (diff)
Particle edit: Fix generation of KD tree for emitters
Fixes crahs using puff brush with copy-on-write.
Diffstat (limited to 'source/blender/editors/physics/physics_intern.h')
-rw-r--r--source/blender/editors/physics/physics_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_intern.h b/source/blender/editors/physics/physics_intern.h
index 108c033a87c..e94f582141b 100644
--- a/source/blender/editors/physics/physics_intern.h
+++ b/source/blender/editors/physics/physics_intern.h
@@ -74,7 +74,7 @@ void PE_create_particle_edit(
struct Depsgraph *depsgraph, struct Scene *scene,
struct Object *ob, struct PointCache *cache, struct ParticleSystem *psys);
void recalc_lengths(struct PTCacheEdit *edit);
-void recalc_emitter_field(struct Object *ob, struct ParticleSystem *psys);
+void recalc_emitter_field(struct Depsgraph *depsgraph, struct Object *ob, struct ParticleSystem *psys);
void update_world_cos(struct Depsgraph *depsgraph, struct Object *ob, struct PTCacheEdit *edit);
/* particle_object.c */