To undo recent changes, from normal mode use the undo command: u: undo last change (can be repeated to undo preceding commands) Ctrl-r: Redo changes which were undone (undo the undos). To repeat a previous change, at the current cursor position. Ctrl-r (hold down Ctrl and press r) will redo a previously undone change, wherever the change occurred. A related command is: U: return. Undo, redo, and other shortcut key functions. The following are functions that are not displayed as buttons in the toolbar of the text editor, but you can use them with their shortcut key combinations. To learn about the keyboard shortcuts in the new content editor, see Keyboard shortcut functions.
The tools listed below will let you roll back an accidental action,redo your last action, or let you choose to recover to a specific point,by picking from a list of recent actions recorded by Blender.
Undo¶
In order to implement undo/redo, we needed to do the following: Create a StateManager class which could store stacks of canvas state for both undo and redo. Create undo and redo components that the user could click on. Don't forget to check out the sample project over on GitHub!
If you want to undo your last action, just press Ctrl-Z.
See also
Editing Preferences section on undo to change defaults.
Redo¶
Reference
All Modes
Edit ‣ Redo
Shift-Ctrl-Z
To roll back the Undo action, press Shift-Ctrl-Z.
Adjust Last Operation¶
Reference
All Modes
Edit ‣ Adjust Last Operation…
F9
After an operation is complete you can tweak the parameters of the operation afterwards.In editors that support it, there is a 'head-up display' panel in the bottom leftbased on the last performed operation; dependent on mode and context.Alternatively, you can create a pop-up with F9 which does the same thing.
For example, if your last operation was a rotation in Object Mode,Blender will show you the last value changed for the angle(see Fig. Rotation (Object Mode, 60 degrees). left),where you can change your action back completely by typing Numpad0.There are other useful options, based on the operator,and you cannot only Undo actions, but change them completely using the available options.
If you are in Edit Mode,Blender will also change its contents based on your last action taken.In the second example (on the right), the last operation was a Move in Object Mode;but a Scale on a Face in Edit Mode, and, as you can see,the contents of Adjust Last Operation are different, because of the mode (Edit Mode)(See Fig. Scale (Edit Mode, Resize face). right).
Scale (Edit Mode, Resize face).¶ |
Tip
Some operations produce particularly useful results by using Adjust Last Operation.For example, adding a Circle in the 3D Viewport; if you reduce the Vertices to three,you get a perfect equilateral triangle.
Tip
The Adjust Last Operation region can be hidden by View ‣ Adjust Last Operation.
Undo History¶
The Undo History menu.¶
There is also an Undo History of the last actions taken, recorded by Blender.
The top of the list corresponds to the most recent actions.A small icon of a dot next to one of the entries indicates the current status.Rolling back actions using the Undo History feature will take you back tothe action you choose. Much like how you can alternate between going backward intime with Undo and then forward with Redo,you can hop around on the Undo timeline as much as you want as long as you do not make a new change.Once you do make a new change, the Undo History is truncated at that point.Selecting one of the entries in the list takes the current status to that position.
Repeat Last¶
Reference
All Modes
Edit ‣ Repeat Last
Adjust Last Operation¶
Reference
All Modes
Edit ‣ Adjust Last Operation…
F9
After an operation is complete you can tweak the parameters of the operation afterwards.In editors that support it, there is a 'head-up display' panel in the bottom leftbased on the last performed operation; dependent on mode and context.Alternatively, you can create a pop-up with F9 which does the same thing.
For example, if your last operation was a rotation in Object Mode,Blender will show you the last value changed for the angle(see Fig. Rotation (Object Mode, 60 degrees). left),where you can change your action back completely by typing Numpad0.There are other useful options, based on the operator,and you cannot only Undo actions, but change them completely using the available options.
If you are in Edit Mode,Blender will also change its contents based on your last action taken.In the second example (on the right), the last operation was a Move in Object Mode;but a Scale on a Face in Edit Mode, and, as you can see,the contents of Adjust Last Operation are different, because of the mode (Edit Mode)(See Fig. Scale (Edit Mode, Resize face). right).
Scale (Edit Mode, Resize face).¶ |
Tip
Some operations produce particularly useful results by using Adjust Last Operation.For example, adding a Circle in the 3D Viewport; if you reduce the Vertices to three,you get a perfect equilateral triangle.
Tip
The Adjust Last Operation region can be hidden by View ‣ Adjust Last Operation.
Undo History¶
The Undo History menu.¶
There is also an Undo History of the last actions taken, recorded by Blender.
The top of the list corresponds to the most recent actions.A small icon of a dot next to one of the entries indicates the current status.Rolling back actions using the Undo History feature will take you back tothe action you choose. Much like how you can alternate between going backward intime with Undo and then forward with Redo,you can hop around on the Undo timeline as much as you want as long as you do not make a new change.Once you do make a new change, the Undo History is truncated at that point.Selecting one of the entries in the list takes the current status to that position.
Repeat Last¶
Reference
All Modes
Edit ‣ Repeat Last
Shift-R
The Repeat Last feature will repeat your last action when you press Shift-R.
In the example images below, we duplicated a Monkey mesh,and then we moved the object a bit.Using repeat Shift-R, the Monkey was also duplicated and moved.
After a Shift-D and move.¶ |
Repeat History¶
The Repeat History menu.¶
The Repeat History feature will present you a list of the last repeated actions,and you can choose the actions you want to repeat.It works in the same way as the Undo History, explained above,but the list contains only repeated actions.
Important
When you quit Blender, the complete list of user actions will be lost, even if you save your file before quitting.
See also
Undo Redo Commands
Troubleshooting section on Recovering your lost work.