Add flag to allow skipping calling node function for nodes with no tags.

This commit is contained in:
Daniel Patterson
2017-06-12 23:46:29 +02:00
committed by Patrick Niklaus
parent 5c8e2b6f78
commit cd8fb82215
9 changed files with 41 additions and 3 deletions
+5
View File
@@ -1,6 +1,11 @@
api_version = 1
-- Rasterbot profile
-- Set to true if you need to call the node_function for every node.
-- Generally can be left as false to avoid unnecessary Lua calls
-- (which slow down pre-processing).
properties.call_tagless_node_function = false
-- Minimalist node_ and way_functions in order to test source_ and segment_functions
function node_function (node, result)