Hi,
The returned types of these two methods is not the same, as a consequence it is hard to work with the API.
My use case is that I want to do some work on the selected nodes. If no nodes are selected, then I do it on all the nodes. With this API, I cannot use the code below:
selection = scene.selectedNodes();
if ( selection.size() == 0 ) {
selection = scene.nodes()
}
Please make a consistent API, whether I all the nodes or the selected ones.
Thanks