Fixed Blend2Node::UpdateFlags().

AnimGraphEditor
Martin Felis 2023-04-03 19:31:09 +02:00
parent 0a45497de9
commit e8ef7924d2
1 changed files with 1 additions and 1 deletions

View File

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