diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-29 02:43:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-29 02:43:26 +0400 |
commit | 24b4d5569ab74a60ca5b9ca94c70df3fac249e05 (patch) | |
tree | 265944c37f797c9d08eda8cd81f48dda158c49c9 /source/blender/editors/screen | |
parent | 5591d03f2189f416adb0f9b48dc71474884471c1 (diff) |
fix [#30705] Playing animation in reverse prevents further forward playback
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index d6a74cc19ce..f0dbdf18826 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3072,6 +3072,8 @@ static int screen_animation_play_exec(bContext *C, wmOperator *op) static void SCREEN_OT_animation_play(wmOperatorType *ot) { + PropertyRNA *prop; + /* identifiers */ ot->name = "Play Animation"; ot->description = "Play animation"; @@ -3082,8 +3084,10 @@ static void SCREEN_OT_animation_play(wmOperatorType *ot) ot->poll = ED_operator_screenactive_norender; - RNA_def_boolean(ot->srna, "reverse", 0, "Play in Reverse", "Animation is played backwards"); - RNA_def_boolean(ot->srna, "sync", 0, "Sync", "Drop frames to maintain framerate"); + prop = RNA_def_boolean(ot->srna, "reverse", 0, "Play in Reverse", "Animation is played backwards"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); + prop = RNA_def_boolean(ot->srna, "sync", 0, "Sync", "Drop frames to maintain framerate"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); } static int screen_animation_cancel_exec(bContext *C, wmOperator *op) |