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:
authorTon Roosendaal <ton@blender.org>2004-11-07 23:11:42 +0300
committerTon Roosendaal <ton@blender.org>2004-11-07 23:11:42 +0300
commit1ba95262f6725e2dc080933ac0020b110832870c (patch)
treeacb4a34274e6d6e0ef2939f6fda2fff2ee3c7b46 /source/blender/src/editipo.c
parentac0bb78a2029b40e9e85697d4b822197b9906bd5 (diff)
More undo goodies;
- Undo for editmode Font object - Undo for posemode :) (btw; it also means posemode remains active on file load)
Diffstat (limited to 'source/blender/src/editipo.c')
-rw-r--r--source/blender/src/editipo.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c
index 297681a7421..02505a7986d 100644
--- a/source/blender/src/editipo.c
+++ b/source/blender/src/editipo.c
@@ -3997,7 +3997,16 @@ void common_insertkey()
base= base->next;
}
}
- BIF_undo_push("Insert Key 3D Window");
+
+ if(event==0) BIF_undo_push("Insert Loc Key");
+ else if(event==1) BIF_undo_push("Insert Rot Key");
+ else if(event==2) BIF_undo_push("Insert Size Key");
+ else if(event==3) BIF_undo_push("Insert LocRot Key");
+ else if(event==4) BIF_undo_push("Insert LocRotSize Key");
+ else if(event==5) BIF_undo_push("Insert Layer Key");
+ else if(event==7) BIF_undo_push("Insert Vertex Key");
+ else if(event==9) BIF_undo_push("Insert Avail Key");
+
allspace(REMAKEIPO, 0);
allqueue(REDRAWIPO, 0);
allqueue(REDRAWVIEW3D, 0);