Merge pull request #50885 from SirQuartz/patch-33

Fix `if` statement in `cluster_builder_rd.h`
This commit is contained in:
Rémi Verschelde 2021-07-26 15:39:41 +02:00 committed by GitHub
commit fdb74c7512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}