diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-13 21:59:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-13 21:59:58 +0400 |
commit | c48c62a8314c51608e7b34ac0df474ce3fca0b02 (patch) | |
tree | 9d7e11b5fd56937d98d02bc5f1e19ba15380950f /source/blender/nodes/composite | |
parent | 800e2283aa986c5cc57e833ef80569cf26d0de2f (diff) |
Code Cleanup: replace checks for ima->source with BKE_image_is_animated
Diffstat (limited to 'source/blender/nodes/composite')
-rw-r--r-- | source/blender/nodes/composite/node_composite_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index 895d57c74f2..39a9f74dea4 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -366,7 +366,7 @@ int ntreeCompositTagAnimated(bNodeTree *ntree) /* otherwise always tag these node types */ if (node->type == CMP_NODE_IMAGE) { Image *ima = (Image *)node->id; - if (ima && ELEM(ima->source, IMA_SRC_MOVIE, IMA_SRC_SEQUENCE)) { + if (ima && BKE_image_is_animated(ima)) { nodeUpdate(ntree, node); tagged = 1; } |