Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r--source/blender/editors/transform/transform.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 68b93fe6560..7a8d4c6750e 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -2181,17 +2181,6 @@ int transformEnd(bContext *C, TransInfo *t)
/* send events out for redraws */
viewRedrawPost(C, t);
- /* Undo as last, certainly after special_trans_update! */
-
- if (t->state == TRANS_CANCEL) {
-// if (t->undostr) ED_undo_push(C, t->undostr);
- }
- else {
-// if (t->undostr) ED_undo_push(C, t->undostr);
-// else ED_undo_push(C, transform_to_undostr(t));
- }
- t->undostr = NULL;
-
viewRedrawForce(C, t);
}