mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 00:03:16 +02:00
Remove redundant isValid check.
This commit is contained in:
parent
1d77cec125
commit
789297d849
1 changed files with 1 additions and 3 deletions
|
@ -106,9 +106,7 @@ void ModelOverlay::setProperties(const QVariantMap& properties) {
|
|||
} else if (scale.isValid()) {
|
||||
// if "scale" property is set but "dimentions" is not.
|
||||
// do NOT scale to fit.
|
||||
if (scale.isValid()) {
|
||||
_scaleToFit = false;
|
||||
}
|
||||
_scaleToFit = false;
|
||||
}
|
||||
|
||||
if (origPosition != getPosition() || origRotation != getRotation() || origDimensions != getDimensions() || origScale != getScale()) {
|
||||
|
|
Loading…
Reference in a new issue