mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Model: Fix for equipped models not updating their matrices
This commit is contained in:
parent
699b3a9dd7
commit
f6344c34e7
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ void Model::setOffset(const glm::vec3& offset) {
|
|||
|
||||
void Model::enqueueLocationChange() {
|
||||
|
||||
_needsUpdateClusterMatrices = true;
|
||||
|
||||
// queue up this work for later processing, at the end of update and just before rendering.
|
||||
// the application will ensure only the last lambda is actually invoked.
|
||||
void* key = (void*)this;
|
||||
|
|
Loading…
Reference in a new issue