diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2026-01-13 07:49:09 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 17:49:09 +0200 |
| commit | 1a65a6bbbd263538bd04faae2d9e899d59ec0d5d (patch) | |
| tree | 806aabed4c624787252b37072c36629c1a559bca /src/JSystem/J3DGraphAnimator/J3DModel.cpp | |
| parent | dd03bf861fdc92109c57d58cc7436066a8a02430 (diff) | |
J3D debug (#3037)
* J3DGraphBase debug
* J3DGraphAnimator debug
* J3DGraphLoader debug
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DModel.cpp')
| -rw-r--r-- | src/JSystem/J3DGraphAnimator/J3DModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DModel.cpp b/src/JSystem/J3DGraphAnimator/J3DModel.cpp index de6e4510bd..076670c80c 100644 --- a/src/JSystem/J3DGraphAnimator/J3DModel.cpp +++ b/src/JSystem/J3DGraphAnimator/J3DModel.cpp @@ -148,8 +148,8 @@ s32 J3DModel::createMatPacket(J3DModelData* pModelData, u32 mdlFlags) { } else { if (pModelData->getModelDataType() == 1) { if (mdlFlags & J3DMdlFlag_UseSingleDL) { - matPacket->mpDisplayListObj = materialNode->getSharedDisplayListObj(); - matPacket->setDisplayListObj(matPacket->mpDisplayListObj); + J3DDisplayListObj* dlobj = materialNode->getSharedDisplayListObj(); + matPacket->setDisplayListObj(dlobj); } else { J3DDisplayListObj* dlobj = materialNode->getSharedDisplayListObj(); ret = dlobj->single_To_Double(); |
