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

Conversation

RichardFrangenberg
Copy link
Member

fixes #31

Copy link
Member

@manuelkoester manuelkoester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:P

@@ -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 = bool(mx_def.getActiveInput(input_data["name"]).getDefaultGeomProp())
hasGeomProp = mx_def and bool(mx_def.getActiveInput(input_data["name"]).getDefaultGeomProp())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls explain why mx_def ;)

Copy link
Member

@manuelkoester manuelkoester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👩‍🍳💋

@RichardFrangenberg RichardFrangenberg merged commit 9f9f425 into main Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The nodegraph inputs node can currently only have one wire connected per port
2 participants