AcademySoftwareFoundation / AcademySoftwareFoundation/MaterialX

Graph Editor: Does not create the correct version of versioned nodes

Open
#1,579 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.3k
Forks
451
Avg merge
6d 6h
Merged PRs (30d)
5

Description

## Issue

There is insufficient information set on the node instance when creating different versions of versioned nodes
If you create both versions of std surface then you end up with the default version being created for both which is incorrect.
i.e. you get this:
```xml


```
As no version is specified both have the same version even though from the UI different node versions we're asked for.

The same thing happens with `UsdUVTexture` which is versioned:
```xml


```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Graph Editor cases for both versions of std surface and UsdUVTexture, then trace how versioned node instances are created. Compare the generated MaterialX XML with the version selected in the UI. Done means each node instance preserves its requested version instead of defaulting to the same version.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.