custom models: increase default joint count (#3782)

This commit is contained in:
Hat Kid
2024-11-27 04:21:33 +01:00
committed by GitHub
parent 6a06291e6e
commit f6c55eba9f
2 changed files with 2 additions and 2 deletions
@@ -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);
+1 -1
View File
@@ -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);