feat(model): implement CM2Model::SetGeometryVisible

This commit is contained in:
VDm 2025-06-18 00:15:50 +04:00
parent 9b704b3366
commit 52a1b4e05b
3 changed files with 63 additions and 2 deletions

View file

@ -522,7 +522,7 @@ void CM2Scene::Animate(const C3Vector& cameraPos) {
batch = &skinProfile->batches[batchIndex];
skinSection = &model->m_shared->m_skinSections[batch->skinSectionIndex];
if (!skinSection) {
if (!model->m_skinSections[batch->skinSectionIndex]) {
continue;
}
}