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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-12 17:48:49 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-13 14:15:20 +0400
commita872d0b414f406a7d53ce77f7b43e7a831a68fa7 (patch)
treea9d0841fc9de93b6e0f54b9b5a5701560902e158 /source/blender/editors/space_time/time_ops.c
parentad9af56a6e475217343b55bbdedb2ae30802fdfc (diff)
Revert "Fix T39484: Time line: highlighted area for frame range one frame too short."
This reverts own commit e9d733a8bd9ebf803d4afac419670974792a3c0d. Turns out there is no consensus here, better to open a design task. :/
Diffstat (limited to 'source/blender/editors/space_time/time_ops.c')
-rw-r--r--source/blender/editors/space_time/time_ops.c4
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 0de9c296d3e..e2e861fda38 100644
--- a/source/blender/editors/space_time/time_ops.c
+++ b/source/blender/editors/space_time/time_ops.c
@@ -147,8 +147,8 @@ static int time_view_all_exec(bContext *C, wmOperator *UNUSED(op))
return OPERATOR_CANCELLED;
/* set extents of view to start/end frames (Preview Range too) */
- v2d->cur.xmin = ((float)PSFRA) - 0.5f;
- v2d->cur.xmax = ((float)PEFRA) + 0.5f;
+ v2d->cur.xmin = (float)PSFRA;
+ v2d->cur.xmax = (float)PEFRA;
/* we need an extra "buffer" factor on either side so that the endpoints are visible */
extra = 0.01f * BLI_rctf_size_x(&v2d->cur);