Skip to content

Commit

Permalink
Update Scene.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRadai committed Jun 7, 2024
1 parent 634a130 commit e3079a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DS2AnimToolset/morphemeEditor/Scene/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ void Scene::DrawFlverModel(FlverModel* model, MR::AnimRigDef* rig, bool drawBone
if (model->m_settings.m_selectedBone != -1)
{
DX::DrawReferenceFrame(&prim, model->m_boneTransforms[model->m_settings.m_selectedBone]);
this->AddText(RString::ToNarrow(model->m_flver->bones[model->m_settings.m_selectedBone].name).c_str(), model->m_boneTransforms[model->m_settings.m_selectedBone]);
this->AddText(RString::ToNarrow(model->m_flver->bones[model->m_settings.m_selectedBone].name).c_str(), model->m_boneTransforms[model->m_settings.m_selectedBone] * world);
}

if (model->m_settings.m_drawDummyPolygons)
Expand All @@ -426,7 +426,7 @@ void Scene::DrawFlverModel(FlverModel* model, MR::AnimRigDef* rig, bool drawBone
std::string dummy_name = "Dmy_" + std::to_string(model->m_flver->dummies[model->m_settings.m_selectedDummy].referenceID);

DX::DrawReferenceFrame(&prim, model->m_dummyPolygons[model->m_settings.m_selectedDummy]);
this->AddText(dummy_name.c_str(), model->m_dummyPolygons[model->m_settings.m_selectedDummy] * world);
this->AddText(dummy_name.c_str(), model->m_dummyPolygons[model->m_settings.m_selectedDummy]);
}

if (drawBones)
Expand Down

0 comments on commit e3079a0

Please sign in to comment.