mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-26 06:49:09 -06:00
Enable the setting of the Texture value of the renderabledebugplane in a mod file
This commit is contained in:
@@ -65,6 +65,12 @@ RenderableDebugPlane::RenderableDebugPlane(const ghoul::Dictionary& dictionary)
|
||||
dictionary.getValue("Name", _nodeName);
|
||||
}
|
||||
|
||||
if (dictionary.hasKey("Texture")) {
|
||||
int t;
|
||||
dictionary.getValue("Texture", t);
|
||||
_texture = t;
|
||||
}
|
||||
|
||||
std::string origin;
|
||||
if (dictionary.getValue("Origin", origin)) {
|
||||
if (origin == "LowerLeft") {
|
||||
|
||||
Reference in New Issue
Block a user