[Bf-blender-cvs] [6ac3ebc] gooseberry: Do not store frame change in undo stack (causes much waiting for animators in heavy scenes)

Antony Riakiotakis noreply at git.blender.org
Fri Jun 5 16:31:51 CEST 2015


Commit: 6ac3ebc0528c2e9e3287d51d814e0ea48365caff
Author: Antony Riakiotakis
Date:   Fri Jun 5 16:31:40 2015 +0200
Branches: gooseberry
https://developer.blender.org/rB6ac3ebc0528c2e9e3287d51d814e0ea48365caff

Do not store frame change in undo stack (causes much waiting for
animators in heavy scenes)

===================================================================

M	source/blender/editors/animation/anim_ops.c
M	source/blender/editors/space_clip/clip_ops.c

===================================================================

diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index be992ba..86b368f 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -343,7 +343,7 @@ static void ANIM_OT_change_frame(wmOperatorType *ot)
 	ot->poll = change_frame_poll;
 	
 	/* flags */
-	ot->flag = OPTYPE_BLOCKING | OPTYPE_UNDO | OPTYPE_GRAB_CURSOR;
+	ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR;
 
 	/* rna */
 	ot->prop = RNA_def_int(ot->srna, "frame", 0, MINAFRAME, MAXFRAME, "Frame", "", MINAFRAME, MAXFRAME);
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index 1d39817..232b2fe 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -999,7 +999,7 @@ void CLIP_OT_change_frame(wmOperatorType *ot)
 	ot->poll = change_frame_poll;
 
 	/* flags */
-	ot->flag = OPTYPE_BLOCKING | OPTYPE_UNDO;
+	ot->flag = OPTYPE_BLOCKING;
 
 	/* rna */
 	RNA_def_int(ot->srna, "frame", 0, MINAFRAME, MAXFRAME, "Frame", "", MINAFRAME, MAXFRAME);




More information about the Bf-blender-cvs mailing list