diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-19 20:06:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-19 20:14:05 +0300 |
commit | 5e81d993afadc6b5d37410e91998395caf1d1281 (patch) | |
tree | ec57394bb9e74110a21b086678535e17c65524db /source/blender/editors/physics/physics_intern.h | |
parent | b5bf3011bf3851d1e68dbcdde310fff04dc3f2f5 (diff) | |
parent | a3486e735f7e5af6ca78dafc8608cced5a121096 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/physics/physics_intern.h')
-rw-r--r-- | source/blender/editors/physics/physics_intern.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_intern.h b/source/blender/editors/physics/physics_intern.h index 6b6df15e987..8888589b5d7 100644 --- a/source/blender/editors/physics/physics_intern.h +++ b/source/blender/editors/physics/physics_intern.h @@ -33,6 +33,13 @@ #ifndef __PHYSICS_INTERN_H__ #define __PHYSICS_INTERN_H__ +struct EvaluationContext; +struct Object; +struct PTCacheEdit; +struct ParticleSystem; +struct PointCache; +struct Scene; +struct ViewLayer; struct wmOperatorType; /* particle_edit.c */ @@ -63,6 +70,14 @@ void PARTICLE_OT_edited_clear(struct wmOperatorType *ot); void PARTICLE_OT_unify_length(struct wmOperatorType *ot); +void PTCacheUndo_clear(struct PTCacheEdit *edit); +void PE_create_particle_edit( + const struct EvaluationContext *eval_ctx, struct Scene *scene, struct ViewLayer *view_layer, + 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 update_world_cos(struct Object *ob, struct PTCacheEdit *edit); + /* particle_object.c */ void OBJECT_OT_particle_system_add(struct wmOperatorType *ot); void OBJECT_OT_particle_system_remove(struct wmOperatorType *ot); |