mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 17:34:03 +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()) {
|
} else if (scale.isValid()) {
|
||||||
// if "scale" property is set but "dimentions" is not.
|
// if "scale" property is set but "dimentions" is not.
|
||||||
// do NOT scale to fit.
|
// do NOT scale to fit.
|
||||||
if (scale.isValid()) {
|
_scaleToFit = false;
|
||||||
_scaleToFit = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (origPosition != getPosition() || origRotation != getRotation() || origDimensions != getDimensions() || origScale != getScale()) {
|
if (origPosition != getPosition() || origRotation != getRotation() || origDimensions != getDimensions() || origScale != getScale()) {
|
||||||
|
|
Loading…
Reference in a new issue