simon.wade Posted May 9 Share Posted May 9 The documentation in SDK 2.18.1 for the World::getNodeByName() function includes a notice indicating that nodes having a possessor are filtered. Is this true? My understanding is that this means you could locate a reference node by name, but any nodes it references would be unlocatable. In practice, it seems that the function does find the contents of reference nodes, so either my understanding or the notice is wrong. Hopefully it's my understanding. :D It's worth noting that the method returning multiple nodes (getNodesByName) does not include the same notice, even though I would've expected the same behaviour. Here's a link to the documentation in question: engine.world Functions - Documentation - Unigine Developer Link to comment
silent Posted May 12 Share Posted May 12 Hi Simon, Looks like there is currently a bug with getNodeByName() and it's actually returns contents of the reference nodes even if unpack nodereferences is not enabled. We will try to fix this in the upcoming 2.19 release. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts