mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
feat(model): setup lighting for attached models in CM2Model::SetupLighting
This commit is contained in:
1 file changed
+3
-4
@@ -1550,10 +1550,9 @@ void CM2Model::SetupLighting() {
|
||||
this->m_lighting.CameraSpace();
|
||||
}
|
||||
|
||||
// TODO
|
||||
// for (auto model = this->model58; model; model = model->model60) {
|
||||
// model->SetupLighting();
|
||||
// }
|
||||
for (auto model = this->m_attachList; model; model = model->m_attachNext) {
|
||||
model->SetupLighting();
|
||||
}
|
||||
}
|
||||
|
||||
void CM2Model::SetVisible(int32_t visible) {
|
||||
|
||||
Reference in new issue
Block a user