Commit 6ee8ffa
authored
Add missing initialization on document load in Graph Editor (#2795)
## Fixes
Fixes: #2794.
There are references to the previous MaterialX documents on file load
### Change
- Clear `_currUiNode` : Would hold onto to last selection if any. This seems the root cause of the property editor crash.
- Clear `_currRenderNode` : Should also be cleared to prevent trying to render last node. This seems to also fix having extra renders when load and select nodegraph.1 parent ae3fb9c commit 6ee8ffa
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2853 | 2853 | | |
2854 | 2854 | | |
2855 | 2855 | | |
| 2856 | + | |
| 2857 | + | |
2856 | 2858 | | |
2857 | 2859 | | |
2858 | 2860 | | |
| |||
0 commit comments