mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-25 11:39:47 +01:00
perf(gpucull): keep the walks of the submodel trees of the instances from frame to frame and make them again only when the model changes (gfx.gpucull.walkcache)
This commit is contained in:
@@ -1617,6 +1617,7 @@ void TModel3d::AddTo(TSubModel *tmp, TSubModel *SubModel)
|
||||
++iSubModelsCount; // teraz jest o 1 submodel więcej
|
||||
iFlags |= 0x0200; // submodele są oddzielne
|
||||
m_lodboundsfound = false; // the new submodel may have its own range
|
||||
state_changed();
|
||||
};
|
||||
|
||||
TSubModel *TModel3d::GetFromName(std::string const &Name) const
|
||||
|
||||
Reference in New Issue
Block a user