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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2011-05-28 05:29:56 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-05-28 05:29:56 +0400
commitd580ae10873ad149ca73902b69f389aad8976419 (patch)
treea481de59296d0b5edd556c6c6d2d5996bb0a15bf /source
parent3ca0bfdd6677f870acca9fa87cf5232e8f3afb13 (diff)
fix for embeded BGE viewport broken when not using letterboxing
this was broken after rev.36787 (api rewritten) own reported bug, nowhere in the track (just to mess up with the bug fixing statistics)
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
index d9017c6a4ca..13f0551d01b 100644
--- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
+++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
@@ -258,7 +258,7 @@ extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *c
draw_letterbox = 1;
}
else {
- camzoom = BKE_screen_view3d_zoom_to_fac(rv3d->camzoom);
+ camzoom = BKE_screen_view3d_zoom_to_fac(rv3d->camzoom)*4.0f;
}
}
else {