diff options
Diffstat (limited to 'source/blender/editors/space_time/time_ops.c')
-rw-r--r-- | source/blender/editors/space_time/time_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_time/time_ops.c b/source/blender/editors/space_time/time_ops.c index b4eb3231b50..e3ea2ea29ea 100644 --- a/source/blender/editors/space_time/time_ops.c +++ b/source/blender/editors/space_time/time_ops.c @@ -69,7 +69,7 @@ static int time_set_sfra_exec (bContext *C, wmOperator *op) if (PEFRA < frame) frame= PEFRA; /* if Preview Range is defined, set the 'start' frame for that */ - if (scene->r.psfra) + if (PRVRANGEON) scene->r.psfra= frame; else scene->r.sfra= frame; @@ -109,7 +109,7 @@ static int time_set_efra_exec (bContext *C, wmOperator *op) if (PSFRA > frame) frame= PSFRA; /* if Preview Range is defined, set the 'end' frame for that */ - if (scene->r.psfra) /* start frame 0 is used to check if the preview is used at all */ + if (PRVRANGEON) scene->r.pefra= frame; else scene->r.efra= frame; |