modified return value of toString method of string properties. It can now be used in scripts

This commit is contained in:
Joakim Kilby
2015-07-06 19:10:56 +02:00
parent 987af4fb76
commit 8f76f8adc6
+1 -1
View File
@@ -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