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:
authorTon Roosendaal <ton@blender.org>2003-11-08 22:04:50 +0300
committerTon Roosendaal <ton@blender.org>2003-11-08 22:04:50 +0300
commit27ddef2ad5e088699e816adf765d255201d2a6b9 (patch)
tree8c5fce07c4207ac6c6dea196f54063b07afebcd9 /source/blender/blenloader
parent95791c0b816f4392d382c8a7fbcbe99b79785297 (diff)
- zooming in for action window increased 5 fold.
(bug report #679). Also corrects old files for it.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 45670fc0c4b..b4172a0d49d 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3912,6 +3912,11 @@ static void do_versions(Main *main)
for (sl= sa->spacedata.first; sl; sl= sl->next) {
if(sl->blockscale==0.0) sl->blockscale= 0.7;
+ /* added: 5x better zoom in for action */
+ if(sl->spacetype==SPACE_ACTION) {
+ SpaceAction *sac= (SpaceAction *)sl;
+ sac->v2d.maxzoom= 50;
+ }
}
}
}