Skip to content

Commit

Permalink
Add building to lifecycle scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Jul 9, 2024
1 parent 55a634a commit ba63e2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions master_preset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16202,7 +16202,7 @@
before the PropertyEditor was started, tags are the current values, by removing the key at the
end of the script it can be re-run without manually reseting the value, &, <, > need to be escaped -->
<text key="set_to_disused" javascript="
var objects = ['amenity','aeroway','highway','leisure','man_made','military','railway','shop'];
var objects = ['amenity','aeroway','building','highway','leisure','man_made','military','railway','shop'];

function isObject(key) {
var objectsLength = objects.length;
Expand All @@ -16229,7 +16229,7 @@ tags.remove('set_to_disused');" />
before the PropertyEditor was started, tags are the current values, by removing the key at the
end of the script it can be re-run without manually reseting the value, &, <, > need to be escaped -->
<text key="set_to_disused_remove_tags" javascript="
var objects = ['amenity','aeroway','highway','leisure','man_made','military','railway','shop'];
var objects = ['amenity','aeroway','building','highway','leisure','man_made','military','railway','shop'];

function isObject(key) {
var objectsLength = objects.length;
Expand Down Expand Up @@ -16308,7 +16308,7 @@ tags.remove('set_to_disused_remove_tags');" />
before the PropertyEditor was started, tags are the current values, by removing the key at the
end of the script it can be re-run without manually reseting the value, &, <, > need to be escaped -->
<text key="set_to_abandoned" javascript="
var objects = ['amenity','aeroway','highway','leisure','man_made','military','place','railway','shop'];
var objects = ['amenity','aeroway','building','highway','leisure','man_made','military','place','railway','shop'];

function isObject(key) {
var objectsLength = objects.length;
Expand All @@ -16335,7 +16335,7 @@ tags.remove('set_to_abandoned');" />
before the PropertyEditor was started, tags are the current values, by removing the key at the
end of the script it can be re-run without manually reseting the value, &, <, > need to be escaped -->
<text key="set_to_abandoned_remove_tags" javascript="
var objects = ['amenity','aeroway','highway','leisure','man_made','military','place','railway','shop'];
var objects = ['amenity','aeroway','building', 'highway','leisure','man_made','military','place','railway','shop'];

function isObject(key) {
var objectsLength = objects.length;
Expand Down

0 comments on commit ba63e2e

Please sign in to comment.