[Bf-blender-cvs] [8f0b6a1] master: Better check that preview seq is cleared on exit

Campbell Barton noreply at git.blender.org
Thu Jan 8 10:16:58 CET 2015


Commit: 8f0b6a1dd1622daabb71e184dc63552af0722dde
Author: Campbell Barton
Date:   Thu Jan 8 20:14:42 2015 +1100
Branches: master
https://developer.blender.org/rB8f0b6a1dd1622daabb71e184dc63552af0722dde

Better check that preview seq is cleared on exit

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

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

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

diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 1a043b4..cbcbc87 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -223,7 +223,7 @@ static int change_frame_modal(bContext *C, wmOperator *op, const wmEvent *event)
 			break;
 	}
 
-	if (ret == OPERATOR_FINISHED) {
+	if (ret != OPERATOR_RUNNING_MODAL) {
 		change_frame_seq_preview_end(C);
 	}




More information about the Bf-blender-cvs mailing list