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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-02 19:56:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-02 19:56:32 +0400
commit1a493533c3b29644f2916a391ed7edd0c019a4f7 (patch)
tree0619a57fde7def6da5eb1a027657aaff63d42154 /source/blender/makesrna/intern/rna_image.c
parent994a937a97c2b43aa95c2fdabd98dd45cba16256 (diff)
Fix #35944: adding keyframes or drivers on image sequences offset did not work
for cycles image texture node.
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r--source/blender/makesrna/intern/rna_image.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index f795222438b..9181ab13aa7 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -158,8 +158,12 @@ static char *rna_ImageUser_path(PointerRNA *ptr)
/* ImageUser *iuser = ptr->data; */
switch (GS(((ID *)ptr->id.data)->name)) {
- case ID_TE:
+ case ID_TE: {
return BLI_strdup("image_user");
+ }
+ case ID_NT: {
+ return rna_Node_ImageUser_path(ptr);
+ }
}
}