mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 13:02:06 +02:00
named property example
This commit is contained in:
parent
612f9621b4
commit
25f5eb6b4f
2 changed files with 4 additions and 1 deletions
|
@ -299,6 +299,9 @@ void EntityEditFilters::scriptRequestFinished(EntityItemID entityID) {
|
|||
filterData.wantsZoneProperties = !stringValue.isEmpty();
|
||||
if (filterData.wantsZoneProperties) {
|
||||
EntityPropertyFlagsFromScriptValue(wantsZonePropertiesValue, filterData.includedZoneProperties);
|
||||
if (stringValue == "boundingBox") {
|
||||
filterData.wantsZoneBoundingBox = true;
|
||||
}
|
||||
}
|
||||
} else if (wantsZonePropertiesValue.isArray()) {
|
||||
auto length = wantsZonePropertiesValue.property("length").toInteger();
|
||||
|
|
|
@ -41,5 +41,5 @@ function filter(properties, type, originalProperties) {
|
|||
|
||||
return properties;
|
||||
}
|
||||
filter.wantsOriginalProperties = true;
|
||||
filter.wantsOriginalProperties = "position";
|
||||
filter;
|
Loading…
Reference in a new issue