Fix always true expression in `cluster_builder_rd.h`

This pull request fixes an issue where an expression would always evaluate to `true` no matter what.
This commit is contained in:
Nicholas Huelin 2021-07-25 11:53:04 -04:00 committed by GitHub
parent e2ebc7db58
commit a1a392045d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public:
Transform3D xform = view_xform * p_transform;
float radius = xform.basis.get_uniform_scale();
if (radius > 0.98 || radius < 1.02) {
if (radius > 0.98 && radius < 1.02) {
xform.basis.orthonormalize();
}