From 2b018673509fe7a38a6332fae00bd605335bd286 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Thu, 15 Apr 2010 04:56:44 +0000 Subject: Fix [#22029] Camera in degree mode doesn't update Removed the camera->angle from DNA, now it just uses RNA to handle the conversions. Really need to convert this to physical units at some point... :/ --- source/blender/makesdna/DNA_camera_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_camera_types.h') diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index a15f9a4eb4c..3b16a16c2b5 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -46,11 +46,13 @@ typedef struct Camera { struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ short type, flag; - float passepartalpha, angle; + float passepartalpha; float clipsta, clipend; float lens, ortho_scale, drawsize; float shiftx, shifty; + float pad; + /* yafray: dof params */ /* qdn: yafray var 'YF_dofdist' now enabled for defocus composit node as well. The name was not changed so that no other files need to be modified */ -- cgit v1.2.3 From a262847298e9d9f4426f991b4e6c3f9fa89163f8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 14 Jun 2010 01:03:48 +0000 Subject: remove remaining unused yafray settings. --- source/blender/makesdna/DNA_camera_types.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/blender/makesdna/DNA_camera_types.h') diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index 3b16a16c2b5..3a9c7b22cde 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -51,14 +51,10 @@ typedef struct Camera { float lens, ortho_scale, drawsize; float shiftx, shifty; - float pad; - /* yafray: dof params */ /* qdn: yafray var 'YF_dofdist' now enabled for defocus composit node as well. The name was not changed so that no other files need to be modified */ - float YF_dofdist, YF_aperture; - short YF_bkhtype, YF_bkhbias; - float YF_bkhrot; + float YF_dofdist; struct Ipo *ipo; // XXX depreceated... old animation system -- cgit v1.2.3