mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(model): implement CM2Model::SetGeometryVisible
This commit is contained in:
parent
9b704b3366
commit
52a1b4e05b
3 changed files with 63 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue