[Bf-blender-cvs] [4cdd6b9] master: Fix T47812: GPU renders have warmer colors than CPU renders

Sergey Sharybin noreply at git.blender.org
Wed Apr 20 12:49:25 CEST 2016


Commit: 4cdd6b9bddac37d8a482cbf44cf4c94fb4d10135
Author: Sergey Sharybin
Date:   Wed Apr 20 12:29:08 2016 +0200
Branches: master
https://developer.blender.org/rB4cdd6b9bddac37d8a482cbf44cf4c94fb4d10135

Fix T47812: GPU renders have warmer colors than CPU renders

Seems was a mistake in f2c54df, volume attributes are not supposed to
have repeated texture type.

===================================================================

M	intern/cycles/blender/blender_mesh.cpp

===================================================================

diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index 09e27c2..1f0aa5e 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -308,7 +308,7 @@ static void create_mesh_volume_attribute(BL::Object& b_ob,
 	        is_float,
 	        is_linear,
 	        INTERPOLATION_LINEAR,
-	        EXTENSION_REPEAT,
+	        EXTENSION_CLIP,
 	        true);
 }




More information about the Bf-blender-cvs mailing list