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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-20 23:39:27 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-20 23:39:27 +0300
commitebd2b1212de7bfc1fabb3af114e954beefd0798c (patch)
treec5aa448df9f03375566fbc019cb83477f992d9a7 /source/blender/editors/util/undo.c
parent39c2b438a9490468625bd047fdf7b4c02c5348ef (diff)
2.5: Particle Edit, work in progress commit.
* Still incomplete and some operators don't work, refresh issues, etc. * Made Hide/Reveal operators consistent for various modes.
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r--source/blender/editors/util/undo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c
index 0584644c027..a54d590c2af 100644
--- a/source/blender/editors/util/undo.c
+++ b/source/blender/editors/util/undo.c
@@ -55,7 +55,7 @@
#include "BKE_utildefines.h"
#include "ED_armature.h"
-#include "ED_editparticle.h"
+#include "ED_particle.h"
#include "ED_curve.h"
#include "ED_mesh.h"
#include "ED_object.h"
@@ -191,7 +191,7 @@ void ED_undo_menu(bContext *C)
}
else {
if(G.f & G_PARTICLEEDIT)
- PE_undo_menu(CTX_data_scene(C));
+ PE_undo_menu(CTX_data_scene(C), CTX_data_active_object(C));
else if(U.uiflag & USER_GLOBALUNDO) {
char *menu= BKE_undo_menu_string();
if(menu) {