Merge branch 'update-model-meta' of github.com:sethalves/hifi into avatar-entities-3

This commit is contained in:
Seth Alves 2016-05-13 09:41:56 -07:00
commit 81af0d0a47

View file

@ -802,7 +802,7 @@ void RenderableModelEntityItem::locationChanged(bool tellPhysics) {
auto myMetaItemCopy = _myMetaItem;
void* key = (void*)this;
AbstractViewStateInterface::instance()->pushPostUpdateLambda(key, [_myMetaItem]() {
AbstractViewStateInterface::instance()->pushPostUpdateLambda(key, [myMetaItemCopy]() {
render::ScenePointer scene = AbstractViewStateInterface::instance()->getMain3DScene();
render::PendingChanges pendingChanges;
pendingChanges.updateItem<RenderableModelEntityItemMeta>(myMetaItemCopy, [](RenderableModelEntityItemMeta& data){});