Fixed $(VERSION.IF_MULTI)

Variable substitution actually errored out when duplicates were present.
This commit is contained in:
Krzysztof Kotowicz
2024-12-02 10:11:23 +01:00
parent d27df0c0ed
commit 87ca8bde27

View File

@@ -744,7 +744,7 @@ function dtutils_string.build_substitute_list(image, sequence, variable_string,
string.match(image.exif_datetime_taken, "(%d+):(%d+):(%d+) (%d+):(%d+):(%d+)$")
end
local version_multi = #image:get_group_members() > 1 and image.version or ""
local version_multi = #image:get_group_members() > 1 and image.duplicate_index or ""
local replacements = {dtutils_string.get_basename(image.film.path),-- ROLL.NAME
image.path, -- FILE.FOLDER