mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 13:19:17 +01:00
Merge branch 'master' into feat/renderers-cleanup
This commit is contained in:
@@ -352,6 +352,7 @@ void
|
||||
basic_cell::insert( TAnimModel *Instance ) {
|
||||
|
||||
m_active = true;
|
||||
m_instancecache.boundsversion = 0; // the renderer builds it anew
|
||||
|
||||
auto const flags = Instance->Flags();
|
||||
auto alpha =
|
||||
@@ -454,6 +455,8 @@ basic_cell::unregister_end( TTrack *Path ) {
|
||||
void
|
||||
basic_cell::erase( TAnimModel *Instance ) {
|
||||
|
||||
m_instancecache.boundsversion = 0; // the renderer builds it anew
|
||||
|
||||
auto const flags = Instance->Flags();
|
||||
auto alpha =
|
||||
Instance->Material() != nullptr ? Instance->Material()->textures_alpha : 0x30300030;
|
||||
|
||||
Reference in New Issue
Block a user