[Bf-blender-cvs] [a6a8ca92121] master: Fix T86063: support 'Relative Path' setting opening (alembic) caches
Philipp Oeser
noreply at git.blender.org
Mon Mar 8 17:01:28 CET 2021
Commit: a6a8ca9212108de9a2fad2a67a86d81efdf5ada3
Author: Philipp Oeser
Date: Mon Mar 1 16:38:38 2021 +0100
Branches: master
https://developer.blender.org/rBa6a8ca9212108de9a2fad2a67a86d81efdf5ada3
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
===================================================================
M source/blender/editors/io/io_cache.c
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list