Enable the setting of the Texture value of the renderabledebugplane in a mod file

This commit is contained in:
Alexander Bock
2016-08-17 11:25:47 +02:00
parent 4f1fe0dd49
commit 92d61851d8

View File

@@ -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") {