mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
fix model resizing bug
This commit is contained in:
parent
f000ef6158
commit
984d6ae48f
1 changed files with 1 additions and 0 deletions
|
@ -355,6 +355,7 @@ void RenderableModelEntityItem::updateModelBounds() {
|
|||
if ((movingOrAnimating ||
|
||||
_needsInitialSimulation ||
|
||||
_model->getTranslation() != getPosition() ||
|
||||
_model->getScaleToFitDimensions() != getDimensions() ||
|
||||
_model->getRotation() != getRotation() ||
|
||||
_model->getRegistrationPoint() != getRegistrationPoint())
|
||||
&& _model->isActive() && _dimensionsInitialized) {
|
||||
|
|
Loading…
Reference in a new issue