Blender Git Loki

Git Commits -> Revision 8621c71

Revision 8621c71 by Joshua Leung (master)
July 20, 2010, 11:54 (GMT)
Bugfix #22917: Translating numerically doesn't allow animation

I've made most operators which change the current frame are now undoable. This has the following benefits:
- it brings these into line with simply changing the frame number directly
- as in this bug report, using the operator tweaking/redo capabilities was causing problems, as the lack of an undo for the frame change mean that changing the operator properties (in this case to do numeric input for transforms, which is a bit of a creative if inefficient use of the available tools) would cause the current frame to reset to the previous frame, making it seem impossible to tweak the operator settings

Notes:
- screen.frame_offset() operator has been left alone, since I expect that undo pushes on this one would be truly annoying while on the others it's probably ok/wanted. This is because with this operator, animators usually end up stepping through their animations vs one-off jumps/scrubbing-sessions

Commit Details:

Full Hash: 8621c71c4c875a8e7e74fb2c3c66c0fd99c2c476
SVN Revision: 30532
Parent Commit: b618a33
Lines Changed: +4, -4

3 Modified Paths:

/source/blender/editors/animation/anim_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -2) (Diff)
/source/blender/editors/space_graph/graph_ops.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021