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:
authorTon Roosendaal <ton@blender.org>2004-11-12 02:55:16 +0300
committerTon Roosendaal <ton@blender.org>2004-11-12 02:55:16 +0300
commit5989da14420597e945386d9fd56310cb2d88ab00 (patch)
tree528ec4a8f7868698e40ab42fafa09897ec5f9e34
parent74786fcd692833ccfbe212867a693c4eaf40d5cc (diff)
Bugfix 1781
Small draw error in camera objects from camera view (one from 1995 or so!) Camera size depended on clipsta...
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index cada8d65ba5..b7cb0a39897 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -673,7 +673,7 @@ void drawcamera(Object *ob)
/* that way it's always visible */
fac= cam->drawsize;
- if(G.vd->persp>=2) fac= cam->clipsta+0.1;
+ if(G.vd->persp>=2 && ob==G.vd->camera) fac= cam->clipsta+0.1;
depth= - fac*cam->lens/16.0;
facx= fac*1.28;