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-04-03 09:57:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-03 09:57:01 +0300
commitb3004d30f5d5060035c5f8ac4cb6338463872877 (patch)
tree1d6c67bbfe50ebdf100d7c11043d87b98e56374d /source/blender/editors/physics/particle_edit.c
parent72ae0e1b6d3057d92420f7ccff88592946e61937 (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.c')
-rw-r--r--source/blender/editors/physics/particle_edit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index fce43fa6425..bdffaf31384 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -4377,12 +4377,6 @@ void PE_create_particle_edit(Scene *scene, Object *ob, PointCache *cache, Partic
if (psys && !cache)
recalc_emitter_field(ob, psys);
PE_update_object(scene, ob, 1);
-
- /* Causes issues, adding undo pushes while performing undo history.
- * Seems not to like this isn't needed anyway - Campbell. */
-#if 0
- PE_undo_push(scene, "Original");
-#endif
}
}