mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:33:26 +02:00
use macro for copying shapeType string to script
This commit is contained in:
parent
27e6f99deb
commit
0fc4c732f7
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ QScriptValue EntityItemProperties::copyToScriptValue(QScriptEngine* engine) cons
|
|||
COPY_PROPERTY_TO_QSCRIPTVALUE(lineHeight);
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE_COLOR_GETTER(textColor, getTextColor());
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE_COLOR_GETTER(backgroundColor, getBackgroundColor());
|
||||
properties.setProperty("shapeType", getShapeTypeString());
|
||||
COPY_PROPERTY_TO_QSCRIPTVALUE_GETTER(shapeType, getShapeTypeString());
|
||||
|
||||
// Sitting properties support
|
||||
QScriptValue sittingPoints = engine->newObject();
|
||||
|
|
Loading…
Reference in a new issue