Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-09-18 01:51:19 +0400
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-09-18 01:51:19 +0400
commitbce60d66010f78d0811cd45deb26d556f38981e7 (patch)
tree49eafa28e31639d9fb213eaa786224110d4e827d
parentf5b1d89c9128cff67eb3e6c2053d83ffbdd5a986 (diff)
Changed Default for Depth Of Field to False
Fixed a type error for dimensions of rectangular area lights
-rw-r--r--render_povray/__init__.py2
-rw-r--r--render_povray/render.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 792b9930..b21a9ac4 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -454,7 +454,7 @@ class RenderPovSettingsCamera(bpy.types.PropertyGroup):
#DOF Toggle
dof_enable = BoolProperty(
name="Depth Of Field", description="EnablePOV-Ray Depth Of Field ",
- default=True)
+ default=False)
#Aperture (Intensity of the Blur)
dof_aperture = FloatProperty(
diff --git a/render_povray/render.py b/render_povray/render.py
index d5390261..24e333d6 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -1,4 +1,4 @@
-# ##### BEGIN GPL LICENSE BLOCK #####
+# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -629,7 +629,7 @@ def write_pov(filename, scene=None, info_callback=None):
size_y = lamp.size_y
samples_y = lamp.shadow_ray_samples_y
- tabWrite("area_light <%d,0,0>,<0,0,%d> %d, %d\n" % \
+ tabWrite("area_light <%.6f,0,0>,<0,0,%.6f> %d, %d\n" % \
(size_x, size_y, samples_x, samples_y))
if lamp.shadow_ray_sample_method == 'CONSTANT_JITTERED':
if lamp.jitter: