Fix T46358: Cycles point density uses repeat extension type
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Oct 2015 07:28:36 +0000 (12:28 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Oct 2015 07:28:36 +0000 (12:28 +0500)
intern/cycles/render/nodes.cpp

index 7ed07ab64537021d5c3767797910ff7917e6892c..206c2e3e6b82927e4adde9e3bcb44dac623e7f9e 100644 (file)
@@ -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);
                }