mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
call Model::scaleToFit() before update render items
This commit is contained in:
parent
db9c3cc103
commit
490483fde8
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ void RenderableModelEntityItem::updateModelBounds() {
|
|||
model->setScaleToFit(true, getDimensions());
|
||||
model->setSnapModelToRegistrationPoint(true, getRegistrationPoint());
|
||||
updateRenderItems = true;
|
||||
model->scaleToFit();
|
||||
}
|
||||
|
||||
bool success;
|
||||
|
|
Loading…
Reference in a new issue