From fb7a335c69f538702d6ed773d2452bc566d2279c Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Mon, 11 Nov 2024 02:14:35 -0500 Subject: [PATCH] Fix object loading in N3FXE and SkyViewer to use existing dummy objects. Previously, non-existent objects were loaded, causing assertion errors in debug builds. Updated to load valid dummy objects. --- src/tool/N3FXE/MainFrm.cpp | 2 +- src/tool/SkyViewer/MainFrm.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tool/N3FXE/MainFrm.cpp b/src/tool/N3FXE/MainFrm.cpp index acd222a4..65d649f3 100644 --- a/src/tool/N3FXE/MainFrm.cpp +++ b/src/tool/N3FXE/MainFrm.cpp @@ -184,7 +184,7 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { m_Light[1].m_Data.InitDirection(1, __Vector3(0, 1, 0), crLgt); // - m_Chr.LoadFromFile("object\\obj_baba.n3shape"); + m_Chr.LoadFromFile("ChrSelect\\el_chairs.n3shape"); m_pGround = new CGround; diff --git a/src/tool/SkyViewer/MainFrm.cpp b/src/tool/SkyViewer/MainFrm.cpp index 3ee5d656..0a6ef0e8 100644 --- a/src/tool/SkyViewer/MainFrm.cpp +++ b/src/tool/SkyViewer/MainFrm.cpp @@ -76,7 +76,7 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { m_Lights[1].m_Data.InitDirection(1, __Vector3(0, 0, -1), crLgt); m_Lights[2].m_Data.InitPoint(2, __Vector3(0, 0, 0), crLgt, 32.0f); - m_ObjectBundle.LoadFromFile("Object\\Field.N3Shape"); // 배경으로 쓸 오브젝트 부르기.. + m_ObjectBundle.LoadFromFile("ChrSelect\\el_chairs.n3shape"); // 배경으로 쓸 오브젝트 부르기.. return 0; }