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:
authorJoshua Leung <aligorith@gmail.com>2008-01-28 14:38:12 +0300
committerJoshua Leung <aligorith@gmail.com>2008-01-28 14:38:12 +0300
commitb9842ec247e5ae9458f59d24e98973ca17949ae7 (patch)
tree8a4753d24eb3b4818e98df58f6f90be35c0b0e4c /source/blender/src/poselib.c
parent0f157c6304a5f794035ccdb3087d605c61e143b7 (diff)
== Action Editor - Overlapping Keyframes Bugfix ==
Now when moving keyframes in the Action Editor, any existing keyframes on the frames where a selected keyframe lands (after the transform) will be removed. This is to prevent stacks of keyframes which cause blips and headaches for animators (especially stressed animators with a looming deadline). I've added an option to the Action Editor's View menu to turn this behaviour on/off (by default, it's on). This shouldn't need to be used too much, and may be removed in due course. If it stays, it'll need a better name...
Diffstat (limited to 'source/blender/src/poselib.c')
-rw-r--r--source/blender/src/poselib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/poselib.c b/source/blender/src/poselib.c
index 468c68021ed..ea02349b51b 100644
--- a/source/blender/src/poselib.c
+++ b/source/blender/src/poselib.c
@@ -455,7 +455,7 @@ void poselib_remove_pose (Object *ob, TimeMarker *marker)
for (i=0, bezt=icu->bezt; i < icu->totvert; i++, bezt++) {
/* check if remove... */
if (IS_EQ(bezt->vec[1][0], marker->frame)) {
- delete_icu_key(icu, i);
+ delete_icu_key(icu, i, 1);
break;
}
}