feat(model): clear texture transforms in CM2Model::FreeInternalResources

This commit is contained in:
fallenoak 2025-12-24 21:48:21 -06:00
parent 79b5afdd71
commit 28faa4b2c8
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -991,10 +991,9 @@ void CM2Model::FreeInternalResources() {
this->m_textureWeights = nullptr;
}
// TODO
// if (this->m_textureTransforms) {
// this->m_textureTransforms = nullptr;
// }
if (this->m_textureTransforms) {
this->m_textureTransforms = nullptr;
}
if (this->m_attachments) {
this->m_attachments = nullptr;