mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 21:57:54 -04:00
custom models: increase default joint count (#3782)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user