Fix issue with unused literals

Behavior should now match the master branch with regard to undeclared
inputs. Undeclared inputs that are socket connections will be used while
undeclared inputs that are literals will be ignored.
This commit is contained in:
Jacob Segal 2024-02-21 19:36:51 -08:00
parent fff22830a9
commit e60dbe3a44

View File

@ -94,7 +94,7 @@ def get_input_data(inputs, class_def, unique_id, outputs=None, prompt={}, dynpro
continue
obj = cached_output[output_index]
input_data_all[x] = obj
else:
elif input_category is not None:
input_data_all[x] = [input_data]
if "hidden" in valid_inputs: