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:
authorJeroen Bakker <jeroen@blender.org>2021-03-30 09:23:09 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-30 17:03:43 +0300
commit3ead9b2b3605580554cc330d2d2525f405e9c779 (patch)
tree634650b941210833444cf0947eb4682c513e5d70 /source/blender/compositor/operations/COM_SocketProxyOperation.cc
parent5a6d5d20de2cfa43d14d67970b2f2eb24048b230 (diff)
Cleanup: Replace virtual methods with bitflags.
Diffstat (limited to 'source/blender/compositor/operations/COM_SocketProxyOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_SocketProxyOperation.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_SocketProxyOperation.cc b/source/blender/compositor/operations/COM_SocketProxyOperation.cc
index 5b5be17bf95..39876439b7b 100644
--- a/source/blender/compositor/operations/COM_SocketProxyOperation.cc
+++ b/source/blender/compositor/operations/COM_SocketProxyOperation.cc
@@ -21,10 +21,11 @@
namespace blender::compositor {
SocketProxyOperation::SocketProxyOperation(DataType type, bool use_conversion)
- : m_use_conversion(use_conversion)
{
this->addInputSocket(type);
this->addOutputSocket(type);
+ flags.is_proxy_operation = true;
+ flags.use_datatype_conversion = use_conversion;
}
std::unique_ptr<MetaData> SocketProxyOperation::getMetaData()