fix an issue that Value/Imm emits a value even if 'emit on change' is disabled
This commit is contained in:
parent
02d6814eaf
commit
61a97e6a32
@ -411,7 +411,7 @@ void Imm::UpdateNode(nf7::Node::Editor& ed) noexcept {
|
||||
ImNodes::EndSlot();
|
||||
}
|
||||
|
||||
if (stat.emit) {
|
||||
if (mem_->autoemit && stat.emit) {
|
||||
ed.Emit(*this, "out", std::move(*stat.emit));
|
||||
}
|
||||
if (stat.mod) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user