17
0
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:
2026-10-24 01:01:43 +02:00
parent 794ac578de
commit 3e2d292709
10 changed files with 264 additions and 36 deletions

View File

@@ -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