diff options
Diffstat (limited to 'mm/2s2h/resource/importer/KeyFrameFactory.cpp')
| -rw-r--r-- | mm/2s2h/resource/importer/KeyFrameFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/resource/importer/KeyFrameFactory.cpp b/mm/2s2h/resource/importer/KeyFrameFactory.cpp index b0ac93ffb..3beb64000 100644 --- a/mm/2s2h/resource/importer/KeyFrameFactory.cpp +++ b/mm/2s2h/resource/importer/KeyFrameFactory.cpp @@ -24,7 +24,7 @@ ResourceFactoryBinaryKeyFrameSkel::ReadResource(std::shared_ptr<Ship::File> file for (uint32_t i = 0; i < numLimbs; i++) { std::string dlStr = reader->ReadString(); - auto dl = Ship::Context::GetInstance()->GetResourceManager()->LoadResourceProcess(dlStr.c_str()); + auto dl = Ship::Context::GetRawInstance()->GetResourceManager()->LoadResourceProcess(dlStr.c_str()); limbs[i].dList = nullptr; if (dl != nullptr) { limbs[i].dList = dl->GetRawPointer(); @@ -41,7 +41,7 @@ ResourceFactoryBinaryKeyFrameSkel::ReadResource(std::shared_ptr<Ship::File> file for (uint32_t i = 0; i < numLimbs; i++) { std::string dlStr = reader->ReadString(); - auto dl = Ship::Context::GetInstance()->GetResourceManager()->LoadResourceProcess(dlStr.c_str()); + auto dl = Ship::Context::GetRawInstance()->GetResourceManager()->LoadResourceProcess(dlStr.c_str()); limbs[i].dList = nullptr; if (dl != nullptr) { limbs[i].dList = dl->GetRawPointer(); |
