Fixed $ROLL.NAME substitution

Accd to 57d3ad4bd3/src/common/variables.c (L660) it should be a basename of the file path.
This commit is contained in:
Krzysztof Kotowicz
2024-12-02 09:56:45 +01:00
parent 9bceb79a15
commit d27df0c0ed

View File

@@ -746,7 +746,7 @@ function dtutils_string.build_substitute_list(image, sequence, variable_string,
local version_multi = #image:get_group_members() > 1 and image.version or ""
local replacements = {image.film.path, -- ROLL.NAME
local replacements = {dtutils_string.get_basename(image.film.path),-- ROLL.NAME
image.path, -- FILE.FOLDER
dtutils_string.get_basename(image.filename),-- FILE.NAME
dtutils_string.get_filetype(image.filename),-- FILE.EXTENSION