Changed Animation and BoneAttachment "Name" field to "AnimationName" and "BoneName"
This commit is contained in:
@@ -46,7 +46,7 @@ struct ModelJob : RenderJob
|
||||
|
||||
if (world->HasComponent(Entity, "Animation") && Skeleton != nullptr) {
|
||||
auto animationComponent = world->GetComponent(Entity, "Animation");
|
||||
Animation = model->m_RawModel->m_Skeleton->GetAnimation(animationComponent["Name"]);
|
||||
Animation = model->m_RawModel->m_Skeleton->GetAnimation(animationComponent["AnimationName"]);
|
||||
AnimationTime = (double)animationComponent["Time"];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user