diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 09:57:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 09:57:01 +0300 |
commit | b3004d30f5d5060035c5f8ac4cb6338463872877 (patch) | |
tree | 1d6c67bbfe50ebdf100d7c11043d87b98e56374d /source/blender/editors/physics/particle_edit_undo.c | |
parent | 72ae0e1b6d3057d92420f7ccff88592946e61937 (diff) |
Undo: remove particle undo push
Was only called on copy particle system
which is already doing an undo push.
Diffstat (limited to 'source/blender/editors/physics/particle_edit_undo.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit_undo.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/editors/physics/particle_edit_undo.c b/source/blender/editors/physics/particle_edit_undo.c index 6e212174f39..ef0a2711fdd 100644 --- a/source/blender/editors/physics/particle_edit_undo.c +++ b/source/blender/editors/physics/particle_edit_undo.c @@ -53,7 +53,6 @@ #include "ED_object.h" #include "ED_particle.h" #include "ED_physics.h" -#include "ED_undo.h" #include "particle_edit_utildefines.h" @@ -296,18 +295,3 @@ void ED_particle_undosys_type(UndoType *ut) } /** \} */ - -/* -------------------------------------------------------------------- */ -/** \name Utilities - * \{ */ - -void PE_undo_push(struct Scene *scene, const char *str) -{ - UndoStack *ustack = ED_undo_stack_get(); - bContext *C_temp = CTX_create(); - CTX_data_scene_set(C_temp, scene); - BKE_undosys_step_push_with_type(ustack, C_temp, str, BKE_UNDOSYS_TYPE_PARTICLE); - CTX_free(C_temp); -} - -/** \} */ |