From 28faa4b2c8a3d62a19bdf4b1a249b6c95ed43b85 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Wed, 24 Dec 2025 21:48:21 -0600 Subject: [PATCH] feat(model): clear texture transforms in CM2Model::FreeInternalResources --- src/model/CM2Model.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/model/CM2Model.cpp b/src/model/CM2Model.cpp index a3f772e..0d92696 100644 --- a/src/model/CM2Model.cpp +++ b/src/model/CM2Model.cpp @@ -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;