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:
authorGeoffroy Krantz <kgeogeo@hotmail.com>2014-01-14 00:57:05 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-14 01:18:31 +0400
commitff98be83a977e54039bfdae405df5a79abafeea7 (patch)
tree284f4e61bca5a26f8b1a0fbc7af03be7fc4e6857 /source/blender/makesrna/intern/rna_image.c
parente9984653a827f1f5de8e1a1d019854b77afb1ea5 (diff)
Empties with Images draw type: add support for movies and image sequences
This adds an ImageUser to such empties with all the typical settings. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D108
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r--source/blender/makesrna/intern/rna_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index e8090839dce..407c5571b4c 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -151,6 +151,7 @@ static char *rna_ImageUser_path(PointerRNA *ptr)
/* ImageUser *iuser = ptr->data; */
switch (GS(((ID *)ptr->id.data)->name)) {
+ case ID_OB:
case ID_TE:
{
return BLI_strdup("image_user");