Model: Fix for equipped models not updating their matrices

This commit is contained in:
Anthony J. Thibault 2016-03-30 15:19:35 -07:00
parent 699b3a9dd7
commit f6344c34e7

View file

@ -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;