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:
authorPhilipp Oeser <info@graphics-engineer.com>2021-03-01 18:38:38 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-03-08 19:01:03 +0300
commita6a8ca9212108de9a2fad2a67a86d81efdf5ada3 (patch)
tree40f4b73a2f7e8a39de1e217dd73326d4f5a99b13
parent1aa59464b6ac1b916ac4a878b620cb6e45783e62 (diff)
Fix T86063: support 'Relative Path' setting opening (alembic) caches
This was reported as opening alembic caches ignoring the 'use_relative_paths' preference, but this operator just did not have this setting. Fortunately, adding this is just a simple switch. Maniphest Tasks: T86063 Differential Revision: https://developer.blender.org/D10568
-rw-r--r--source/blender/editors/io/io_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_cache.c b/source/blender/editors/io/io_cache.c
index ea6606ed066..bf20c1f6438 100644
--- a/source/blender/editors/io/io_cache.c
+++ b/source/blender/editors/io/io_cache.c
@@ -131,7 +131,7 @@ void CACHEFILE_OT_open(wmOperatorType *ot)
FILE_TYPE_ALEMBIC | FILE_TYPE_FOLDER,
FILE_BLENDER,
FILE_OPENFILE,
- WM_FILESEL_FILEPATH,
+ WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH,
FILE_DEFAULTDISPLAY,
FILE_SORT_DEFAULT);
}