Fix bugs with 3D browser scale and place synchronization of the target and browser in the targets update function

This commit is contained in:
sylvass
2021-12-02 14:55:15 -05:00
parent 148b68123c
commit f5721cee14
11 changed files with 88 additions and 62 deletions
+2 -1
View File
@@ -701,7 +701,8 @@ void SkyBrowserModule::place3dBrowser(const ImageData& image, const int i)
// If the image has a 3D position, add it to the scene graph
if (image.has3dCoords && _browser3d) {
_browser3d->displayImage(image.imageUrl, i);
_browser3d->placeAt3dPosition(image.position3d, image.fov);
_browser3d->placeAt3dPosition(image.position3d, image.fov,
_browser3dNode->identifier());
}
else {
LINFO("Image has no 3D coordinate!");