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:
authorAntony Riakiotakis <kalast@gmail.com>2015-03-05 21:05:39 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-03-05 21:05:39 +0300
commit6f3629607b794c120531475f2f5e79cceafdadf7 (patch)
tree1ceaa030e032da004d7dee915494e77b0272b55c /source/blender/editors
parent7c38ba0a9eba63b9a2fc53b3d9f9cdc896269754 (diff)
Make limits of sequencer scaling a bit more sane
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_sequencer/space_sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c
index 8934628ee2c..7a7f189b187 100644
--- a/source/blender/editors/space_sequencer/space_sequencer.c
+++ b/source/blender/editors/space_sequencer/space_sequencer.c
@@ -145,8 +145,8 @@ static SpaceLink *sequencer_new(const bContext *C)
ar->flag |= RGN_FLAG_HIDDEN;
/* for now, aspect ratio should be maintained, and zoom is clamped within sane default limits */
ar->v2d.keepzoom = V2D_KEEPASPECT | V2D_KEEPZOOM | V2D_LIMITZOOM;
- ar->v2d.minzoom = 0.00001f;
- ar->v2d.maxzoom = 100000.0f;
+ ar->v2d.minzoom = 0.001f;
+ ar->v2d.maxzoom = 1000.0f;
ar->v2d.tot.xmin = -960.0f; /* 1920 width centered */
ar->v2d.tot.ymin = -540.0f; /* 1080 height centered */
ar->v2d.tot.xmax = 960.0f;