diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 04:21:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-23 04:22:25 +0300 |
commit | 3302fbaeb1d5f58d926c06b6153ec5d6f1a9b0be (patch) | |
tree | 5be399e227415fef745bcdb2b7f20a578628718b /source/blender/compositor/nodes/COM_MovieClipNode.cpp | |
parent | 64b4b719ebd5201d27aa25d7fa2d765eabded9b0 (diff) |
Cleanup: style, use braces for compositor
Diffstat (limited to 'source/blender/compositor/nodes/COM_MovieClipNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_MovieClipNode.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_MovieClipNode.cpp b/source/blender/compositor/nodes/COM_MovieClipNode.cpp index 342f0a9f88a..f5ea6b2653a 100644 --- a/source/blender/compositor/nodes/COM_MovieClipNode.cpp +++ b/source/blender/compositor/nodes/COM_MovieClipNode.cpp @@ -51,11 +51,13 @@ void MovieClipNode::convertToOperations(NodeConverter &converter, ImBuf *ibuf = NULL; if (movieClip) { - if (cacheFrame) + if (cacheFrame) { ibuf = BKE_movieclip_get_ibuf(movieClip, movieClipUser); - else + } + else { ibuf = BKE_movieclip_get_ibuf_flag( movieClip, movieClipUser, movieClip->flag, MOVIECLIP_CACHE_SKIP); + } } // always connect the output image |