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:
Diffstat (limited to 'source/blender/blenkernel/intern/world.c')
-rw-r--r--source/blender/blenkernel/intern/world.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/world.c b/source/blender/blenkernel/intern/world.c
index 9676f08ee78..526176407a9 100644
--- a/source/blender/blenkernel/intern/world.c
+++ b/source/blender/blenkernel/intern/world.c
@@ -199,14 +199,6 @@ void init_render_world()
for(a=0; a<MAX_MTEX; a++)
if(R.wrld.mtex[a] && R.wrld.mtex[a]->tex) R.wrld.skytype |= WO_SKYTEX;
- if(G.scene->camera && G.scene->camera->type==OB_CAMERA) {
- Camera *cam= G.scene->camera->data;
- if(cam->type==CAM_ORTHO) {
- /* this is an estimation */
- R.wrld.miststa+= (float)fabs(R.viewmat[3][2]);
- }
- }
-
}
else {
memset(&R.wrld, 0, sizeof(World));