mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 09:59:44 -05:00
modified return value of toString method of string properties. It can now be used in scripts
This commit is contained in:
@@ -46,7 +46,7 @@ REGISTER_TEMPLATEPROPERTY_SOURCE(StringProperty, std::string, "",
|
||||
return value;
|
||||
},
|
||||
[](std::string& outValue, std::string inValue) -> bool {
|
||||
outValue = inValue;
|
||||
outValue = "\"" + inValue + "\"";
|
||||
return true;
|
||||
},
|
||||
LUA_TSTRING
|
||||
|
||||
Reference in New Issue
Block a user