Browse Source

Update ufbx to v0.14.0

bqqbarbhg 1 year ago
parent
commit
5cd7ae198d
4 changed files with 700 additions and 196 deletions
  1. 1 1
      modules/fbx/fbx_document.cpp
  2. 1 1
      thirdparty/README.md
  3. 265 141
      thirdparty/ufbx/ufbx.c
  4. 433 53
      thirdparty/ufbx/ufbx.h

+ 1 - 1
modules/fbx/fbx_document.cpp

@@ -2029,7 +2029,7 @@ Error FBXDocument::_parse(Ref<FBXState> p_state, String p_path, Ref<FileAccess>
 	opts.space_conversion = UFBX_SPACE_CONVERSION_MODIFY_GEOMETRY;
 	if (!p_state->get_allow_geometry_helper_nodes()) {
 		opts.geometry_transform_handling = UFBX_GEOMETRY_TRANSFORM_HANDLING_MODIFY_GEOMETRY_NO_FALLBACK;
-		opts.inherit_mode_handling = UFBX_INHERIT_MODE_HANDLING_IGNORE;
+		opts.inherit_mode_handling = UFBX_INHERIT_MODE_HANDLING_COMPENSATE_NO_FALLBACK;
 	} else {
 		opts.geometry_transform_handling = UFBX_GEOMETRY_TRANSFORM_HANDLING_HELPER_NODES;
 		opts.inherit_mode_handling = UFBX_INHERIT_MODE_HANDLING_COMPENSATE;

+ 1 - 1
thirdparty/README.md

@@ -894,7 +894,7 @@ number and run the script.
 ## ufbx
 
 - Upstream: https://github.com/ufbx/ufbx
-- Version: git (v0.11.1, 2024)
+- Version: 0.14.0 (80ff790ab36507b99ec7e4ef55b9cfb076ce821b, 2024)
 - License: MIT
 
 Files extracted from upstream source:

File diff suppressed because it is too large
+ 265 - 141
thirdparty/ufbx/ufbx.c


File diff suppressed because it is too large
+ 433 - 53
thirdparty/ufbx/ufbx.h


Some files were not shown because too many files changed in this diff