From 4ea5ccc493952f50398094aa747a099942ae22fa Mon Sep 17 00:00:00 2001 From: DavidBluecame Date: Fri, 22 Jul 2016 10:15:19 +0200 Subject: [PATCH] IBL clamp sampling parameter no longer needed 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... --- io/yaf_world.py | 2 +- ui/properties_yaf_world.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/io/yaf_world.py b/io/yaf_world.py index a70d1dc4..156785f8 100755 --- a/io/yaf_world.py +++ b/io/yaf_world.py @@ -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: diff --git a/ui/properties_yaf_world.py b/ui/properties_yaf_world.py index 871f4f89..298ef391 100755 --- a/ui/properties_yaf_world.py +++ b/ui/properties_yaf_world.py @@ -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()