mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Work around #16221 by updating parent chains
This commit is contained in:
parent
26aab6ecf2
commit
613ba689ff
2 changed files with 25 additions and 0 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue