mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make possible and do update textures in node definitions after late texture atlas making
This commit is contained in:
parent
c6fd2986d4
commit
1afed48a2c
4 changed files with 26 additions and 1 deletions
|
@ -224,6 +224,9 @@ Client::Client(
|
|||
tsrc->buildMainAtlas(this);
|
||||
else
|
||||
infostream<<"Not building texture atlas."<<std::endl;
|
||||
|
||||
// Update textures
|
||||
m_nodedef->updateTextures(tsrc);
|
||||
|
||||
// NOTE: This should be done only after getting possible dynamic
|
||||
// game definitions from the server, or at least shut down and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue