The tool-redo depends on a working undo system, so it can rewind
a step and then redo operator with new settings. When a user
disables undo, this won't work.

Now the properties for redo operator (toolbar, F6) will grey out
when a redo isn't possible.
This commit is contained in:
2011-01-12 18:00:23 +00:00
parent 505e2d882a
commit 604d029ddf
12 changed files with 119 additions and 0 deletions

View File

@@ -51,5 +51,6 @@ void ED_keymap_paint(struct wmKeyConfig *keyconf);
int ED_undo_paint_step(struct bContext *C, int type, int step, const char *name);
void ED_undo_paint_free(void);
int ED_undo_paint_valid(int type, const char *name);
#endif