Make renderable sky browser not need to know about ImageData

This commit is contained in:
sylvass
2021-12-01 14:24:25 -05:00
parent 1fe86fe843
commit fd58f9508e
3 changed files with 7 additions and 17 deletions

View File

@@ -712,7 +712,7 @@ 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 && get3dBrowser()) {
get3dBrowser()->displayImage(image.imageUrl, i);
get3dBrowser()->placeAt3dPosition(image);
get3dBrowser()->placeAt3dPosition(image.position3d, image.fov);
}
else {
LINFO("Image has no 3D coordinate!");