Big commit, but mainly adminstration.

- Enabled ot->flag OPTYPE_UNDO to work.
- Removed all redundant ED_undo_pushes, but I'd
  recommend everyone to check it while testing. :)
- Added view manipulations as OPTYPE_REGISTER,
  although this will flood the redo stack a bit...
  Nevertheless; for a "redo last action" panel we
  can simply check if both flags are set for redo.

- Bugfix in editmode undo: selectmode was cleared,
  so you couldn't select after undo
- Bugfix in mixing tweaks and keymaps... solution
  works but is weak, need to think over a while.
This commit is contained in:
2009-01-31 19:40:40 +00:00
parent 59534ac589
commit 51ded6696a
35 changed files with 584 additions and 474 deletions

View File

@@ -147,8 +147,6 @@ void do_node_addmenu(bContext *C, void *arg, int event)
// XXX snode_autoconnect(snode, node, NODE_TEST);
// XXX addqueue(curarea->win, UI_BUT_EVENT, B_NODE_TREE_EXEC);
// ED_undo_push("Add Node");
}
static void node_make_addmenu(bContext *C, int nodeclass, uiBlock *block)