From d8806d2e6b437732655246fbb6a375d65e847ffd Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Wed, 27 Nov 2024 03:01:39 +0100 Subject: [PATCH] increase default joint count --- decompiler/level_extractor/merc_replacement.cpp | 2 +- goalc/build_actor/common/MercExtract.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/decompiler/level_extractor/merc_replacement.cpp b/decompiler/level_extractor/merc_replacement.cpp index 352f664c976..2afed37bd1a 100644 --- a/decompiler/level_extractor/merc_replacement.cpp +++ b/decompiler/level_extractor/merc_replacement.cpp @@ -22,7 +22,7 @@ void extract(const std::string& name, int mesh_count = 0; int prim_count = 0; bool has_envmaps = false; - int joints = 1; + int joints = 3; auto skin_idx = find_single_skin(model, all_nodes); if (skin_idx) { joints = get_joint_count(model, *skin_idx); diff --git a/goalc/build_actor/common/MercExtract.cpp b/goalc/build_actor/common/MercExtract.cpp index f29bda7daf3..fb857b8dc23 100644 --- a/goalc/build_actor/common/MercExtract.cpp +++ b/goalc/build_actor/common/MercExtract.cpp @@ -22,7 +22,7 @@ void extract(const std::string& name, int mesh_count = 0; int prim_count = 0; bool has_envmaps = false; - int joints = 1; + int joints = 3; auto skin_idx = find_single_skin(model, all_nodes); if (skin_idx) { joints = gltf_util::get_joint_count(model, *skin_idx);