diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-08-16 12:09:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-16 12:09:07 -0400 |
| commit | e08dff3c7319b460f05619603c142fa4b862ba64 (patch) | |
| tree | 677bfb03024d07a0c3886d96aa6e65f758e1c83c /include/JSystem/J3DGraphAnimator | |
| parent | 80c77196360c10e3a91b8157218f73b9d4d27255 (diff) | |
Debug build improvements (#1170)
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DMaterialAnm.h | 5 |
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: |
