mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +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();
|
this->m_lighting.CameraSpace();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO
|
for (auto model = this->m_attachList; model; model = model->m_attachNext) {
|
||||||
// for (auto model = this->model58; model; model = model->model60) {
|
model->SetupLighting();
|
||||||
// model->SetupLighting();
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CM2Model::SetVisible(int32_t visible) {
|
void CM2Model::SetVisible(int32_t visible) {
|
||||||
|
|||||||
Reference in new issue
Block a user