mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 01:13:11 +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) {
|
||||
if (isValidScale(scale) || scale == 1.0f) {
|
||||
if (!isValidScale(scale) || scale == 1.0f) {
|
||||
return;
|
||||
}
|
||||
if (isScaling()) {
|
||||
|
|
Loading…
Reference in a new issue