Closed marwie closed 1 year ago
Starting to look around material X and it's viewer I figured this would be an easy one to start and do my bit for the ASWF dev days. However, it appears this is no longer an issue?
Oh, good catch, @sandersteen.
It sounds like this was fixed as a side effect of other Graph Editor improvements for MaterialX 1.38.8. If that's the case, then feel free to look at other tasks in the Graph Editor space, including any of the subtasks in this multi-part issue:
https://github.com/AcademySoftwareFoundation/MaterialX/issues/1398
I'll go ahead and remove the Good First Issue label from this one, and we'll validate that we get the same correct results as in your video above.
I've confirmed the findings of @sandersteen, and this bug is indeed fixed in the main branch, so I'll mark this as resolved.
It seems like subgraph auto layout is only applied when the graph has one or more outputs
This is the subgraph when opening it. Notice that the nodes should be flipped
Here is the graph
When adding a output node to the
needle_shadergraph
nodegraph it is properly layouted:Extras
Sometimes the subgraph also looks like this when opening
in which case auto layout doesnt seem to do anything https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/88b7db99-7fc6-47ce-8e12-59ae71bc3d16