mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:57:00 +02:00
Fix inverted if
This commit is contained in:
parent
70a020c7e3
commit
254f05072f
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ inline void Transform::setScale(const Vec3& scale) {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Transform::postScale(float scale) {
|
inline void Transform::postScale(float scale) {
|
||||||
if (isValidScale(scale) || scale == 1.0f) {
|
if (!isValidScale(scale) || scale == 1.0f) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isScaling()) {
|
if (isScaling()) {
|
||||||
|
|
Loading…
Reference in a new issue