File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libraries/entities-renderer/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,6 @@ void RenderableModelEntityItem::updateModelBounds() {
189
189
glm::vec3 scale = model->getScale ();
190
190
model->setUseDualQuaternionSkinning (!isNonUniformScale (scale));
191
191
model->updateRenderItems ();
192
-
193
- markDirtyFlags (Simulation::DIRTY_SHAPE | Simulation::DIRTY_MASS);
194
- locationChanged ();
195
192
}
196
193
}
197
194
@@ -1267,6 +1264,9 @@ void ModelEntityRenderer::doRenderUpdateAsynchronousTyped(const TypedEntityPoint
1267
1264
entity->_originalTexturesRead = false ;
1268
1265
entity->_needsJointSimulation = true ;
1269
1266
entity->_needsToRescaleModel = true ;
1267
+
1268
+ entity->markDirtyFlags (Simulation::DIRTY_SHAPE | Simulation::DIRTY_MASS);
1269
+ entity->locationChanged ();
1270
1270
emit requestRenderUpdate ();
1271
1271
});
1272
1272
scene->enqueueTransaction (transaction);
You can’t perform that action at this time.
0 commit comments