Report #1433
In camera view, with ortho camera, the current camera was drawn with unpredictable sizes. The code was not written to work for ortho, so I check on that now. Means camera isnt visible itself then, which is minor I think. Nice for a todo once...
This commit is contained in:
@@ -663,6 +663,9 @@ void drawcamera(Object *ob)
|
||||
float vec[8][4], tmat[4][4], fac, facx, facy, depth;
|
||||
|
||||
cam= ob->data;
|
||||
/* this code only works for perspective */
|
||||
if(G.vd->persp==2 && ob==G.vd->camera && cam->type==CAM_ORTHO) return;
|
||||
|
||||
glDisable(GL_LIGHTING);
|
||||
glDisable(GL_CULL_FACE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user