From 252cbc96f2af34d165e13153a8913e1a4bfeca0a Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Sat, 15 Feb 2025 13:55:08 -0500 Subject: [PATCH] apply_camera_style - made spaces conditional in the pattern match so that pattern names with spaces will match models that don't have spaces --- official/apply_camera_style.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/official/apply_camera_style.lua b/official/apply_camera_style.lua index aac49d1..b748ef9 100644 --- a/official/apply_camera_style.lua +++ b/official/apply_camera_style.lua @@ -162,6 +162,7 @@ local function process_pattern(pattern) else pattern = string.gsub(pattern, "?", ".") end + pattern = string.gsub(pattern, " ", " ?") -- escape dashes pattern = string.gsub(pattern, "%-", "%%-") -- until we end up with a set, I'll defer set processing, i.e. [...]