[Bf-blender-cvs] [1a65289] master: Fix T46358: Cycles point density uses repeat extension type

Sergey Sharybin noreply at git.blender.org
Mon Oct 5 09:54:32 CEST 2015


Commit: 1a65289a122f31122ce740168e6d0072cbe60041
Author: Sergey Sharybin
Date:   Mon Oct 5 12:28:36 2015 +0500
Branches: master
https://developer.blender.org/rB1a65289a122f31122ce740168e6d0072cbe60041

Fix T46358: Cycles point density uses repeat extension type

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

M	intern/cycles/render/nodes.cpp

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

diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp
index 7ed07ab..206c2e3 100644
--- a/intern/cycles/render/nodes.cpp
+++ b/intern/cycles/render/nodes.cpp
@@ -1381,7 +1381,7 @@ PointDensityTextureNode::~PointDensityTextureNode()
 		image_manager->remove_image(filename,
 		                            builtin_data,
 		                            interpolation,
-		                            EXTENSION_REPEAT);
+		                            EXTENSION_CLIP);
 	}
 }
 
@@ -1425,7 +1425,7 @@ void PointDensityTextureNode::compile(SVMCompiler& compiler)
 			                                false, 0,
 			                                is_float, is_linear,
 			                                interpolation,
-			                                EXTENSION_REPEAT,
+			                                EXTENSION_CLIP,
 			                                true);
 		}
 
@@ -1473,7 +1473,7 @@ void PointDensityTextureNode::compile(OSLCompiler& compiler)
 			                                false, 0,
 			                                is_float, is_linear,
 			                                interpolation,
-			                                EXTENSION_REPEAT,
+			                                EXTENSION_CLIP,
 			                                true);
 		}




More information about the Bf-blender-cvs mailing list