diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-09-19 16:55:03 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-09-19 16:55:19 +0300 |
commit | 34143e45104b296ece09c646ea3fb0d8bb24c519 (patch) | |
tree | 2d6c99e6f4596b1561d25f12e6cdc46a87ec1842 /source/blender/blenkernel | |
parent | 1353158aa24b4ada82cc569543e765c5ff388e20 (diff) |
Fix T70070: Path always absolute when importing Alembic
Importing an Alembic file with a relative path is now also possible.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/cachefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cachefile.c b/source/blender/blenkernel/intern/cachefile.c index 2d6256f12e2..3b0f4d9c2aa 100644 --- a/source/blender/blenkernel/intern/cachefile.c +++ b/source/blender/blenkernel/intern/cachefile.c @@ -246,7 +246,7 @@ void BKE_cachefile_eval(Main *bmain, Depsgraph *depsgraph, CacheFile *cache_file BLI_freelistN(&cache_file->object_paths); #ifdef WITH_ALEMBIC - cache_file->handle = ABC_create_handle(filepath, &cache_file->object_paths); + cache_file->handle = ABC_create_handle(bmain, filepath, &cache_file->object_paths); BLI_strncpy(cache_file->handle_filepath, filepath, FILE_MAX); #endif |