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:
parent
e2ebc7db58
commit
a1a392045d
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue