Hi,
See comment here:
https://fold.it/portal/node/2005568#comment-38048
Many recipes used these commands. It's a hard work to translate everything to new filter commands.
Many old recipes turn very slow now for design puzzles because of this.
Well for correcting the old recipes, there is the solution to add this to the recipes:
–copy this at the early beginning of the recipe.
–START Translate old filter functions in order to keep original recipe code. By Bruno Kestemont 7/1/2019
function behavior.GetFiltersDisabled()
return not filter.AreAllEnabled()
end
function behavior.SetFiltersDisabled(disabling)
local disabling = disabling or true
if disabling then
filter.DisableAll() –Disables all filters
else
filter.EnableAll() –Enables all filters
end
end
function behavior.SetSlowFiltersDisabled(disabling)
if disabling then
filter.DisableAll() –Disables all filters
else
filter.EnableAll() –Enables all filters
end
end
–END Translate old filter functions in order to keep original recipe code