diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-02-10 23:28:18 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-02-10 23:28:18 +0300 |
commit | 2b01b713394ae49bb805c889b65719ac59827b89 (patch) | |
tree | e7bf86d90880b6547885f07c7016e18d422f1771 /source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | |
parent | 59c0a1e7c8df1c44df1bd0b459e3e17c481c4e76 (diff) |
Fix T43565: BGE removed unneeded if/else in BL_KetsjiEmbedStart
Diffstat (limited to 'source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp')
-rw-r--r-- | source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp index 60b8832b44e..6e8c64f3f12 100644 --- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp +++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp @@ -457,14 +457,7 @@ extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *c ketsjiengine->SetCameraOverrideUseOrtho((rv3d->persp == RV3D_ORTHO)); ketsjiengine->SetCameraOverrideProjectionMatrix(MT_CmMatrix4x4(rv3d->winmat)); ketsjiengine->SetCameraOverrideViewMatrix(MT_CmMatrix4x4(rv3d->viewmat)); - if (rv3d->persp == RV3D_ORTHO) - { - ketsjiengine->SetCameraOverrideClipping(v3d->near, v3d->far); - } - else - { - ketsjiengine->SetCameraOverrideClipping(v3d->near, v3d->far); - } + ketsjiengine->SetCameraOverrideClipping(v3d->near, v3d->far); ketsjiengine->SetCameraOverrideLens(v3d->lens); } |