This commit is contained in:
Seth Alves 2016-05-13 09:41:19 -07:00
parent 79141e3869
commit 574709824e

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){});