mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Make renderable sky browser not need to know about ImageData
This commit is contained in:
@@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user