mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
Merge branch 'update-model-meta' of github.com:sethalves/hifi into avatar-entities-3
This commit is contained in:
commit
81af0d0a47
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ void RenderableModelEntityItem::locationChanged(bool tellPhysics) {
|
||||||
auto myMetaItemCopy = _myMetaItem;
|
auto myMetaItemCopy = _myMetaItem;
|
||||||
|
|
||||||
void* key = (void*)this;
|
void* key = (void*)this;
|
||||||
AbstractViewStateInterface::instance()->pushPostUpdateLambda(key, [_myMetaItem]() {
|
AbstractViewStateInterface::instance()->pushPostUpdateLambda(key, [myMetaItemCopy]() {
|
||||||
render::ScenePointer scene = AbstractViewStateInterface::instance()->getMain3DScene();
|
render::ScenePointer scene = AbstractViewStateInterface::instance()->getMain3DScene();
|
||||||
render::PendingChanges pendingChanges;
|
render::PendingChanges pendingChanges;
|
||||||
pendingChanges.updateItem<RenderableModelEntityItemMeta>(myMetaItemCopy, [](RenderableModelEntityItemMeta& data){});
|
pendingChanges.updateItem<RenderableModelEntityItemMeta>(myMetaItemCopy, [](RenderableModelEntityItemMeta& data){});
|
||||||
|
|
Loading…
Reference in a new issue