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

don't do autolayout if nodegraph has position attributes #69

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

RichardFrangenberg
Copy link
Member

fixes #30

@@ -751,6 +751,9 @@ def load_graph_from_mx_doc(self, doc):
for mx_graph in doc.getNodeGraphs():
ng_node = self.create_nodegraph_from_mx_nodegraph(mx_graph)
for cur_mx_node in mx_graph.getNodes():
if cur_mx_node.hasAttribute("xpos") and cur_mx_node.hasAttribute("ypos"):
had_pos = True
Copy link
Member

Choose a reason for hiding this comment

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

had_pos should probably be tracked per graph, but fine with me until someone complains :D

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.

LGTM

@RichardFrangenberg RichardFrangenberg merged commit 2b85516 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.

QuiltiX does not respect positions of nodes when loading mtlx files
2 participants