Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Commit

Permalink
IBL clamp sampling parameter no longer needed
Browse files Browse the repository at this point in the history
This parameter should no longer be needed after this issue was solved in Core (http://www.yafaray.org/node/752#comment-1621), but I will leave it here for now just in case...
  • Loading branch information
DavidBluecame committed Jul 22, 2016
1 parent a86108a commit 4ea5ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion io/yaf_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def exportWorld(self, scene, is_preview):
yi.paramsSetString("type", "textureback")
yi.paramsSetString("texture", "world_texture")
yi.paramsSetBool("ibl", useIBL)
yi.paramsSetFloat("ibl_clamp_sampling", world.ibl_clamp_sampling)
#yi.paramsSetFloat("ibl_clamp_sampling", world.ibl_clamp_sampling) #No longer needed after this issue was solved in Core (http://www.yafaray.org/node/752#comment-1621), but I will leave it here for now just in case...
if is_preview:
yi.paramsSetFloat("smartibl_blur", 0.0) #To avoid causing Blender UI freezing while waiting for the blur process to complete in the material/world previews
else:
Expand Down
4 changes: 2 additions & 2 deletions ui/properties_yaf_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def draw(self, context):
col.prop(world, "bg_use_ibl")
col = split.column()
col.prop(world, "bg_smartibl_blur")
col = split.column()
col.prop(world, "ibl_clamp_sampling")
#col = split.column()
#col.prop(world, "ibl_clamp_sampling") #No longer needed after this issue was solved in Core (http://www.yafaray.org/node/752#comment-1621), but I will leave it here for now just in case...

if world.bg_use_ibl:
row = layout.row()
Expand Down

0 comments on commit 4ea5ccc

Please sign in to comment.