diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-30 15:25:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-30 17:03:43 +0300 |
commit | 88b5d7f5f39265af05f509b1be42277ebbdc3f7d (patch) | |
tree | 3f44d173950074e08c9f65ddfd932b230789c09b /source/blender/compositor/intern/COM_NodeOperation.cc | |
parent | 094c950915bcdfda7e8a554a31edbf7c87c30739 (diff) |
Cleanup: remove unneeded method.
size can be accessed via instance attribute.
Diffstat (limited to 'source/blender/compositor/intern/COM_NodeOperation.cc')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeOperation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_NodeOperation.cc b/source/blender/compositor/intern/COM_NodeOperation.cc index cb2134ae5f1..297ef100a1b 100644 --- a/source/blender/compositor/intern/COM_NodeOperation.cc +++ b/source/blender/compositor/intern/COM_NodeOperation.cc @@ -131,7 +131,7 @@ bool NodeOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output) { - if (isInputOperation()) { + if (m_inputs.size() == 0) { BLI_rcti_init(output, input->xmin, input->xmax, input->ymin, input->ymax); return false; } |