Fix T88578: crash when loading value from group output node
It remembered the wrong origin socket and couldn't find the value anymore later on.
This commit is contained in:
parent
53c98e45cf
commit
7b62a54230
Notes:
blender-bot
2023-02-13 18:35:17 +01:00
Referenced by issue #88578, Geometry Nodes : Empty string input to Attribute Remove causes Error
|
@ -1282,7 +1282,7 @@ class GeometryNodesEvaluator {
|
|||
GMutablePointer value = this->get_value_from_socket(origin_socket, *input_state.type);
|
||||
if (input_socket->is_multi_input_socket()) {
|
||||
MultiInputValue &multi_value = *input_state.value.multi;
|
||||
multi_value.items.append({input_socket, value.get()});
|
||||
multi_value.items.append({origin_socket, value.get()});
|
||||
}
|
||||
else {
|
||||
SingleInputValue &single_value = *input_state.value.single;
|
||||
|
|
Loading…
Reference in New Issue