mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Fix search of pairs to include scene graph node identifier as well
This commit is contained in:
@@ -376,7 +376,7 @@ TargetBrowserPair* SkyBrowserModule::getPair(const std::string& id) {
|
||||
bool foundBrowser = pair->browserId() == id;
|
||||
bool foundTarget = pair->targetRenderableId() == id;
|
||||
bool foundTargetNode = pair->targetNodeId() == id;
|
||||
return foundBrowser || foundTarget;
|
||||
return foundBrowser || foundTarget || foundTargetNode;
|
||||
}
|
||||
);
|
||||
if (it == std::end(_targetsBrowsers)) {
|
||||
|
||||
Reference in New Issue
Block a user