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:
authorMatt Ebb <matt@mke3.net>2010-04-15 08:56:44 +0400
committerMatt Ebb <matt@mke3.net>2010-04-15 08:56:44 +0400
commit2b018673509fe7a38a6332fae00bd605335bd286 (patch)
tree562d9ffb6ac40d16df15a43b13137e94fdd57797 /source/blender/blenloader
parent57a1ff0df0f2df4be7518ba34da95537f21921a2 (diff)
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... :/
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 12ae08089da..2039681b1f2 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -8437,10 +8437,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
Object *ob= main->object.first;
Camera *cam = main->camera.first;
Material *ma;
-
- for(; cam; cam= cam->id.next) {
- cam->angle= 360.0f * (float)atan(16.0f/cam->lens) / (float)M_PI;
- }
for(ma=main->mat.first; ma; ma= ma->id.next) {
if(ma->sss_scale==0.0f) {