1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-04 17:25:30 +01:00

Work around #16221 by updating parent chains

This commit is contained in:
Lars Mueller
2025-07-28 09:27:13 +02:00
committed by SmallJoker
parent 26aab6ecf2
commit 613ba689ff
2 changed files with 25 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ private:
bool visualExpiryRequired(const ObjectProperties &newprops) const;
public:
GenericCAO(Client *client, ClientEnvironment *env);
~GenericCAO();
@@ -299,4 +300,10 @@ public:
}
void updateMeshCulling();
private:
/// Update the parent chain so getPosition() returns an up to date position.
void updateParentChain() const;
};