Fix #19802: tweaking the values of e.g. the add tube operator when
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 26 Jan 2010 15:54:42 +0000 (15:54 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 26 Jan 2010 15:54:42 +0000 (15:54 +0000)
commit8d6a40c0162fba7d64b349bb5e7370c860acbb35
tree1fbb049d403b0271c694339cda5f30795f0e3be9
parentdcf54b9b669015b527579844fdb19a053b04c96e
Fix #19802: tweaking the values of e.g. the add tube operator when
entering editmode on a second mesh would create a duplicate tube.

Cleaning the undo stack from the previous mesh would mess up the redo.
Also, OBJECT_OT_mode_set was causing enter/exit editmode undo push to
be done twice, now it leaves undo push to the operator it calls.
source/blender/editors/object/object_edit.c
source/blender/editors/util/editmode_undo.c