Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2019-12-25 22:16:43 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2019-12-25 22:16:43 +0300
commit6657fcc78375948ea04d860a015d146f2686a051 (patch)
tree388a42fcb2fad18fc0b9c1cacdb1ae68a6ea0338 /source/blender/editors/space_image
parent9aab9970c6130e581ad22a0ece3880d51dd68c1e (diff)
Cleanup: Remove BLI_stringenc_path
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 9b091979f1e..586d7995ed8 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1318,7 +1318,9 @@ static int image_get_udim(char *filepath, LinkNodePair *udim_tiles)
BLI_filelist_free(dir, totfile);
if (is_udim && has_primary) {
- BLI_stringenc_path(filepath, dirname, base_head, base_tail, digits, 1001);
+ char primary_filename[FILE_MAX];
+ BLI_stringenc(primary_filename, base_head, base_tail, digits, 1001);
+ BLI_join_dirfile(filepath, FILE_MAX, dirname, primary_filename);
return max_udim - 1000;
}
return 0;