Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes bug that outputs of inputnodes could have only one connection #70

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
comment for manu
RichardFrangenberg committed Jun 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a0b2b8d9e9826c9f30936cd632be64656f64ac14
2 changes: 1 addition & 1 deletion src/QuiltiX/qx_nodegraph.py
Original file line number Diff line number Diff line change
@@ -522,7 +522,7 @@ def get_mx_doc_from_serialized_data(self, serialized_data, mx_parent=None, paren

for input_data in node_data.get("input_ports", {}):
val = node_data.get("custom", {}).get(input_data["name"], node_data.get("custom", {}).get(input_data["name"] + "0"))
hasGeomProp = mx_def and bool(mx_def.getActiveInput(input_data["name"]).getDefaultGeomProp())
hasGeomProp = mx_def and bool(mx_def.getActiveInput(input_data["name"]).getDefaultGeomProp()) # the inputnodes and outputnodes of nodegraphs don't have a mx definition
isConnected = None
if hasGeomProp:
for connection in serialized_data.get("connections", []):