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:
authorCampbell Barton <ideasman42@gmail.com>2018-03-19 19:46:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-19 19:46:49 +0300
commita3486e735f7e5af6ca78dafc8608cced5a121096 (patch)
treeadaf6036dfc9d27c5de5b00bed67a85520576ad6 /source/blender/editors/physics/physics_intern.h
parenta5fc0ae150d737109ee1bd179bc5de81f9120f32 (diff)
Cleanup: move particle undo into own file
Also avoid extern declarations which can get out of sync.
Diffstat (limited to 'source/blender/editors/physics/physics_intern.h')
-rw-r--r--source/blender/editors/physics/physics_intern.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/editors/physics/physics_intern.h b/source/blender/editors/physics/physics_intern.h
index 6b6df15e987..cb281936634 100644
--- a/source/blender/editors/physics/physics_intern.h
+++ b/source/blender/editors/physics/physics_intern.h
@@ -33,6 +33,11 @@
#ifndef __PHYSICS_INTERN_H__
#define __PHYSICS_INTERN_H__
+struct Object;
+struct PTCacheEdit;
+struct ParticleSystem;
+struct PointCache;
+struct Scene;
struct wmOperatorType;
/* particle_edit.c */
@@ -63,6 +68,12 @@ 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(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 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);