Merge pull request #7518 from hyperlogic/tony/model-hand-grab-fix

Model: Fix for equipped models not updating their matrices
This commit is contained in:
Seth Alves 2016-03-30 16:10:21 -07:00
commit d9909fb7da

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;