Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-07-28 15:39:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-07-28 15:39:53 +0300
commitf29625922f61c772e01a9bf2902a41bd4e4e264e (patch)
treee4f53d49acec057f08f8b6c02960927d477ea7cd /source/blender/makesrna
parent4690281b17a9b302bd86484703b2389e371c8f07 (diff)
Cycles: Expose Clip image extension type
This type causes pixels outside of 0..1 coordinate range to become transparent.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 2c86799f0e2..105829ef389 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -3626,6 +3626,7 @@ static void def_sh_tex_image(StructRNA *srna)
static EnumPropertyItem prop_image_extension[] = {
{SHD_IMAGE_EXTENSION_REPEAT, "REPEAT", 0, "Repeat", "Cause the image to repeat horizontally and vertically"},
{SHD_IMAGE_EXTENSION_EXTEND, "EXTEND", 0, "Extend", "Extend by repeating edge pixels of the image"},
+ {SHD_IMAGE_EXTENSION_CLIP, "CLIP", 0, "Clip", "Clip to image size and set exterior pixels as transparent"},
{0, NULL, 0, NULL, NULL}
};