error, camera scale couldnt be set. bpyrender now sets ortho properly

This commit is contained in:
2007-01-12 00:31:18 +00:00
parent b0c2e7808c
commit 54863a2fef
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ def imageFromObjectsOrtho(objects, path, width, height, smooth, alpha= True, cam
render_scn.link(render_cam_ob)
render_scn.setCurrentCamera(render_cam_ob)
render_cam_data.type= 1 # ortho
render_cam_data.type= 'ortho'