State:Closed|TargetRelease:7.0v1|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:544360|
Problem summary
mari.nodeGraph.viewerNode() does not work in subgraphs
Customer reported version
Mari 6.0v2
Customer reported platform
Multiple
Steps to reproduce
1. Open a project, such as the Example Project.
2. Create a Group node.
3. Ctrl + double-click the Group node in order to enter it.
4. Bring the Viewer node into the Group node by selecting a node inside the Group and pressing the 1 key.
5. Open the Python Console palette and write the following script into the Input Pane:
ngPalette = mari.palettes.find("Node Graph")index = ngPalette.currentTabIndex()graph = ngPalette.nodeGraphView(index).nodeGraph()print(graph.viewerNode()) <mari.Mari.Node object at 0x00000212AA393B08>.None.We're sorry to hear that
Please tell us why