diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-07 13:36:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-07 13:36:06 +0300 |
commit | 12770dba0e9d5d3dd4b657cc9fa269add5ee18a1 (patch) | |
tree | f7cd3dcbc3d335062d786e28ead1ef71b4268c70 /source/blender/editors/render/render_opengl.c | |
parent | 89baa67a4023105dfad982c3f7616b731b2fb26a (diff) |
use RV3D_CAMOB define, theres no reason to use >= comparison either.
also fixed opengl render ortho test.
Diffstat (limited to 'source/blender/editors/render/render_opengl.c')
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index eb24919f99b..3dfd7e52c30 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -134,7 +134,7 @@ static void screen_opengl_render_apply(OGLRender *oglrender) /* render 3d view */ if(rv3d->persp==RV3D_CAMOB && v3d->camera) { RE_GetCameraWindow(oglrender->re, v3d->camera, scene->r.cfra, winmat); - is_ortho= scene->r.mode * R_ORTHO; + is_ortho= scene->r.mode & R_ORTHO; } else { |