mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-13 05:41:43 +00:00
chore: update default root bone name to empty string and do not specify if matching default name
This commit is contained in:
@@ -163,7 +163,7 @@ namespace
|
||||
assert(common.m_vertex_bone_weights.size() == common.m_vertices.size());
|
||||
|
||||
XModelBone rootBone{
|
||||
.name = jXModel.rootBoneName.value_or("root"),
|
||||
.name = jXModel.rootBoneName.value_or(xmodel::DEFAULT_XMODEL_ROOT_BONE_NAME),
|
||||
.parentIndex = std::nullopt,
|
||||
.scale = {1.0f, 1.0f, 1.0f},
|
||||
.globalOffset = {0.0f, 0.0f, 0.0f},
|
||||
|
||||
Reference in New Issue
Block a user