From 1a131171cb208d1f45d62c287fbe4fc5c3bbe42b Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Thu, 17 Jan 2013 22:51:54 +0000 Subject: [PATCH] Cycles Test App: * Fix compile for camera xml properties. --- intern/cycles/app/cycles_xml.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index 5de9d71b8cc..40fbb7af556 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -233,16 +233,16 @@ static void xml_read_film(const XMLReadState& state, pugi::xml_node node) float aspect = (float)cam->width/(float)cam->height; if(cam->width >= cam->height) { - cam->left = -aspect; - cam->right = aspect; - cam->bottom = -1.0f; - cam->top = 1.0f; + cam->viewplane.left = -aspect; + cam->viewplane.right = aspect; + cam->viewplane.bottom = -1.0f; + cam->viewplane.top = 1.0f; } else { - cam->left = -1.0f; - cam->right = 1.0f; - cam->bottom = -1.0f/aspect; - cam->top = 1.0f/aspect; + cam->viewplane.left = -1.0f; + cam->viewplane.right = 1.0f; + cam->viewplane.bottom = -1.0f/aspect; + cam->viewplane.top = 1.0f/aspect; } cam->need_update = true;