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:
authorCampbell Barton <ideasman42@gmail.com>2011-09-06 14:49:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-06 14:49:55 +0400
commit7062788017cfb2841596d15f7c37612312692195 (patch)
treebbb55860b05e7ea9df70ce91da7573e866107a71 /source/blender/makesrna/intern/rna_texture.c
parent32287bebe82615b8500ef0196b7b780745147835 (diff)
texture evaluation function (like we had in 2.4x api), requested by Lee.
eg: red, green, blue, intensity = texture.evaluate(vec)
Diffstat (limited to 'source/blender/makesrna/intern/rna_texture.c')
-rw-r--r--source/blender/makesrna/intern/rna_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c
index 503212201c4..890be76c49a 100644
--- a/source/blender/makesrna/intern/rna_texture.c
+++ b/source/blender/makesrna/intern/rna_texture.c
@@ -1820,6 +1820,8 @@ static void rna_def_texture(BlenderRNA *brna)
rna_def_texture_pointdensity(brna);
rna_def_texture_voxeldata(brna);
/* XXX add more types here .. */
+
+ RNA_api_texture(srna);
}
void RNA_def_texture(BlenderRNA *brna)