mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
feat(model): handle attachment visibility in CM2Model::AnimateMT
This commit is contained in:
parent
578503d8ec
commit
7ba3c0730b
@ -155,6 +155,15 @@ void CM2Model::AnimateMT(const C44Matrix* view, const C3Vector& a3, const C3Vect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle attachment visibility
|
||||||
|
|
||||||
|
if (this->m_attachParent) {
|
||||||
|
this->m_flag8 = this->m_attachParent->m_flag8 && this->m_flag80;
|
||||||
|
this->m_flag10000 = this->m_attachParent->m_flag10000 && this->m_flag20000;
|
||||||
|
|
||||||
|
// TODO dword174
|
||||||
|
}
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
for (int32_t i = 0; i < this->m_shared->m_data->loops.Count(); i++) {
|
for (int32_t i = 0; i < this->m_shared->m_data->loops.Count(); i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user