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/blenloader
parent7c38ba0a9eba63b9a2fc53b3d9f9cdc896269754 (diff)
Make limits of sequencer scaling a bit more sane
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 089ee158570..ab5c8ace430 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -644,6 +644,8 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
for (ar = sl->regionbase.first; ar; ar = ar->next) {
if (ar->regiontype == RGN_TYPE_PREVIEW) {
ar->v2d.keepzoom |= V2D_LIMITZOOM;
+ ar->v2d.minzoom = 0.001f;
+ ar->v2d.maxzoom = 1000.0f;
break;
}
}