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>2005-01-30 14:25:27 +0300
committerTon Roosendaal <ton@blender.org>2005-01-30 14:25:27 +0300
commit996374bb5a475eb68d50ec5d21b6921049300914 (patch)
tree8b045f89ed1355b5f62f082475db047ee2ebc5a5 /source/blender/makesdna/DNA_camera_types.h
parent3180afe2cffd05f8cae26744c41a638b3168d51b (diff)
Fixed old annoyance; enabling true Ortho render in Blender.
It used to be a simple hack, scaling lens with 100, and moving the camera to the back with an equivalent amount. Because of the hack, making it 100% compatible with older files I could not achieve (yet?). To help reminding users, I've added a print when reading old files with Ortho cameras. Full description of how it works can be found here; http://www.blender3d.com/cms/Render_changes.515.0.html
Diffstat (limited to 'source/blender/makesdna/DNA_camera_types.h')
-rw-r--r--source/blender/makesdna/DNA_camera_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h
index 1f25f371f97..8b6f0eb369b 100644
--- a/source/blender/makesdna/DNA_camera_types.h
+++ b/source/blender/makesdna/DNA_camera_types.h
@@ -46,9 +46,9 @@ struct Ipo;
typedef struct Camera {
ID id;
- short type, flag, drawzoom, hold;
+ short type, flag;
float clipsta, clipend;
- float lens, drawsize;
+ float lens, ortho_scale, drawsize;
/* yafray: dof params */
float YF_dofdist, YF_aperture;