Remove redundant isValid check.

This commit is contained in:
Anthony J. Thibault 2016-07-13 17:39:39 -07:00
parent 1d77cec125
commit 789297d849

View file

@ -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()) {