Fix T86710: Crash When Adding Node Group.
When adding a node group there can be no inputs in the input map that was triggering an assert.
This commit is contained in:
parent
a7455ae5f8
commit
64a413b0c7
Notes:
blender-bot
2023-02-14 09:19:09 +01:00
Referenced by issue #86710, Crash in compositor with particular group node setup
|
@ -291,7 +291,7 @@ void NodeOperationBuilder::add_operation_input_constants()
|
|||
}
|
||||
for (Inputs::const_iterator it = pending_inputs.begin(); it != pending_inputs.end(); ++it) {
|
||||
NodeOperationInput *input = *it;
|
||||
add_input_constant_value(input, m_input_map.lookup(input));
|
||||
add_input_constant_value(input, m_input_map.lookup_default(input, nullptr));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue