*Fixed a bug with POV replacement code introduced with latest addition of colored spec.

*changed default values for the folowing properties to be more useful in most scenes:
- radio_low_error_factor
- fake_caustics_power
- importance_value
This commit is contained in:
Maurice Raybaud
2013-06-04 11:55:10 +00:00
parent 00cd461ce4
commit 8a0e2f9d94
2 changed files with 6 additions and 8 deletions

View File

@ -1544,12 +1544,10 @@ def write_pov(filename, scene=None, info_callback=None):
tabWrite("}\n")
c += 1
if material.pov.replacement_text == "":
# Close first layer of POV "texture" (Blender material)
tabWrite("}\n")
# Close first layer of POV "texture" (Blender material)
tabWrite("}\n")
if (material.specular_color.r == material.specular_color.g) and (material.specular_color.r == material.specular_color.b):
colored_specular_found = False