Fix T46358: Cycles point density uses repeat extension type

This commit is contained in:
Sergey Sharybin 2015-10-05 12:28:36 +05:00
parent 8e08c50646
commit 1a65289a12
Notes: blender-bot 2023-02-14 10:11:54 +01:00
Referenced by issue #46358, Cycles point density interpolation failing
1 changed files with 3 additions and 3 deletions

View 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);
}