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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-19 22:11:02 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-19 22:11:02 +0300
commit3bda5490f7f50a795cd8b2c3d841c9375723aee9 (patch)
treecdcd6b5a08cc8566a0d3c8e8e1518fe990d5826f /source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
parent12ad72ba8f4ab598c558428567707413e208eac7 (diff)
2.5: globals cleanup
* G.version removed, use BLENDER_VERSION * G.order removed, ENDIAN_ORDER * G.vd, G.sipo, G.buts, G.sima, .. removed. * G.qual removed * G.simulf removed (was unused in 2.4x) * error() and some other unused stubs removed
Diffstat (limited to 'source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp')
-rw-r--r--source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
index 6c2e110db76..01eedc68964 100644
--- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
+++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
@@ -210,7 +210,7 @@ extern "C" void StartKetsjiShell(struct ScrArea *area,
int tmp_lay= G.scene->lay;
Object *tmp_camera = G.scene->camera;
- if (G.vd->scenelock==0){
+ if (v3d->scenelock==0){
G.scene->lay= v3d->lay;
G.scene->camera= v3d->camera;
}
@@ -477,7 +477,7 @@ extern "C" void StartKetsjiShell(struct ScrArea *area,
gameLogic_keys = NULL;
}
//lock frame and camera enabled - restoring global values
- if (G.vd->scenelock==0){
+ if (v3d->scenelock==0){
G.scene->lay= tmp_lay;
G.scene->camera= tmp_camera;
}