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:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user