summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphAnimator
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-16 12:09:07 -0400
committerGitHub <noreply@github.com>2026-08-16 12:09:07 -0400
commite08dff3c7319b460f05619603c142fa4b862ba64 (patch)
tree677bfb03024d07a0c3886d96aa6e65f758e1c83c /include/JSystem/J3DGraphAnimator
parent80c77196360c10e3a91b8157218f73b9d4d27255 (diff)
Debug build improvements (#1170)
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h b/include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h
index 797c4060..14fd8660 100644
--- a/include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h
+++ b/include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h
@@ -81,7 +81,10 @@ public:
void setAnmIndex(u16 index) { mAnmIndex = index; }
bool getAnmFlag() const { return mAnmFlag; }
void setAnmFlag(bool flag) { mAnmFlag = flag; }
- void setAnmTransform(J3DAnmTextureSRTKey* transform) { mAnmTransform = transform; }
+ void setAnmTransform(J3DAnmTextureSRTKey* transform) {
+ J3D_ASSERT(0, transform != NULL, "Error : null pointer.");
+ mAnmTransform = transform;
+ }
void calc(J3DTextureSRTInfo* pSRTInfo) const;
private: