Commit: 8cb6a79b8befbbe5f9d9c7dc0bb3ddb85686b372
Author: makowalski
Date:   Fri Jul 23 22:10:03 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB8cb6a79b8befbbe5f9d9c7dc0bb3ddb85686b372

USD import: don't check for cache usdz extension.

Removed check for .usdz extension in logic to
determine cachfile type.

===================================================================

M       source/blender/blenkernel/intern/cachefile.c

===================================================================

diff --git a/source/blender/blenkernel/intern/cachefile.c 
b/source/blender/blenkernel/intern/cachefile.c
index 73d146c8060..75180de94d8 100644
--- a/source/blender/blenkernel/intern/cachefile.c
+++ b/source/blender/blenkernel/intern/cachefile.c
@@ -359,7 +359,7 @@ void BKE_cachefile_eval(Main *bmain, Depsgraph *depsgraph, 
CacheFile *cache_file
   }
 #endif
 #ifdef WITH_USD
-  if (BLI_path_extension_check_glob(filepath, "*.usd;*.usda;*.usdc;*.usdz")) {
+  if (BLI_path_extension_check_glob(filepath, "*.usd;*.usda;*.usdc")) {
     cache_file->type = CACHEFILE_TYPE_USD;
     cache_file->handle = USD_create_handle(bmain, filepath, 
&cache_file->object_paths);
     BLI_strncpy(cache_file->handle_filepath, filepath, FILE_MAX);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to