summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphAnimator/J3DModel.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-07-05 01:33:40 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-07-05 01:33:40 -0400
commite773fe5ca67e569308167b3bbe49052c6bd5de44 (patch)
treedffb85cf760cdc844ebc0aaf39173ded9cd4d941 /src/JSystem/J3DGraphAnimator/J3DModel.cpp
parent2618f8181158561737f6e9c282b28176d6a6210c (diff)
Some particle work and cleanup
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DModel.cpp')
-rw-r--r--src/JSystem/J3DGraphAnimator/J3DModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DModel.cpp b/src/JSystem/J3DGraphAnimator/J3DModel.cpp
index d182c649..278835d5 100644
--- a/src/JSystem/J3DGraphAnimator/J3DModel.cpp
+++ b/src/JSystem/J3DGraphAnimator/J3DModel.cpp
@@ -253,7 +253,7 @@ s32 J3DModel::createMatPacket(J3DModelData* pModelData, u32 flag) {
J3DShapePacket* shapePacket = getShapePacket(pModelData->getMaterialNodePointer(i)->getShape()->getIndex());
mpMatPacket[i].setInitShapePacket(shapePacket);
mpMatPacket[i].addShapePacket(shapePacket);
- mpMatPacket[i].setTexture(pModelData->getMaterialTable().getTexture());
+ mpMatPacket[i].setTexture(pModelData->getTexture());
mpMatPacket[i].mDiffFlag = pModelData->getMaterialNodePointer(i)->mDiffFlag;
if (pModelData->getModelDataType() == 1)