Change to use server instead of localhost for browsers, and fix some bugs

This commit is contained in:
Ylva Selling
2021-06-08 19:12:44 +02:00
parent 2df2e45f85
commit d3736aeb82
10 changed files with 97 additions and 24 deletions
@@ -61,6 +61,7 @@ namespace openspace {
void setIdInBrowser(std::string id);
float fieldOfView() const;
std::deque<int>& selectedImages();
void setImageLayerOrder(int i, int order);
protected:
@@ -36,6 +36,7 @@ namespace openspace {
std::deque<int>& selectedImages();
void addSelectedImage(ImageData& image, int i);
void removeSelectedImage(ImageData& image, int i);
void setImageLayerOrder(int i, int order);
// Translation
//void translate(glm::vec2 translation);
+1
View File
@@ -50,6 +50,7 @@ namespace openspace {
ghoul::Dictionary removeImageLayer(const std::string& imageId);
ghoul::Dictionary setLayerOpacity(const std::string& imageId, double opacity);
ghoul::Dictionary setForegroundOpacity(double val);
ghoul::Dictionary setLayerOrder(const std::string& id, int order);
}
}