Fixed Blend2Node::UpdateFlags().
parent
0a45497de9
commit
e8ef7924d2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue