Fixed Blend2Node::UpdateFlags().

This commit is contained in:
Martin Felis 2023-04-03 19:31:09 +02:00
parent 0a45497de9
commit e8ef7924d2

View File

@ -138,7 +138,7 @@ struct NodeDescriptor<Blend2Node> : public NodeDescriptorBase {
Socket* weight_input_socket = FindSocket("Weight", m_inputs);
assert(weight_input_socket != nullptr);
if (GetPropertyValue<bool>("Sync") == true) {
if (GetProperty<bool>("Sync") == true) {
weight_input_socket->m_flags = SocketFlags::SocketFlagAffectsTime;
} else {
weight_input_socket->m_flags = SocketFlags::SocketFlagNone;