Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2273,10 +2273,9 @@ bool EntityScriptingInterface::verifyStaticCertificateProperties(const QUuid& en · 2272 unmodified lines | ||
| 2273 | 2273 | return result; |
| 2274 | 2274 | } |
| 2275 | 2275 | |
| 2276 | −const EntityPropertyInfo EntityScriptingInterface::getPropertyInfo(const QScriptValue& property) const { | |
| 2277 | − const QString name = property.toString(); | |
| 2276 | +const EntityPropertyInfo EntityScriptingInterface::getPropertyInfo(const QString& propertyName) const { | |
| 2278 | 2277 | EntityPropertyInfo propertyInfo; |
| 2279 | − EntityItemProperties::getPropertyInfo(name, propertyInfo); | |
| 2278 | + EntityItemProperties::getPropertyInfo(propertyName, propertyInfo); | |
| 2280 | 2279 | return propertyInfo; |
| 2281 | 2280 | } |
| 2282 | 2281 | |