diff options
author | Joilnen Leite <joilnen.leite@gmail.com> | 2007-11-11 19:56:22 +0300 |
---|---|---|
committer | Joilnen Leite <joilnen.leite@gmail.com> | 2007-11-11 19:56:22 +0300 |
commit | 8f684083cf300735a3aa7046286d321d67d6b334 (patch) | |
tree | 73153541ebcd9cb5830eab1e84d97b48c21f0930 /source/blender/src/view.c | |
parent | 3d250856fb2b42d2e80c2afbada99e73cce84475 (diff) |
dropped some unused lines, if that was some new feature witch I no found mentions in svn logs please to commit
for trunk when ready
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r-- | source/blender/src/view.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c index 4ddd6d71dea..5304cc04ddc 100644 --- a/source/blender/src/view.c +++ b/source/blender/src/view.c @@ -1080,18 +1080,10 @@ void obmat_to_viewmat(Object *ob, short smooth) /* dont set windows active in in here, is used by renderwin too */ void setviewmatrixview3d() { - Camera *cam; - if(G.vd->persp>=2) { /* obs/camera */ if(G.vd->camera) { - where_is_object(G.vd->camera); obmat_to_viewmat(G.vd->camera, 0); - - if(G.vd->camera->type==OB_CAMERA) { - cam= G.vd->camera->data; - //if(cam->type==CAM_ORTHO) G.vd->viewmat[3][2]*= 100.0; - } } else { QuatToMat4(G.vd->viewquat, G.vd->viewmat); |