mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Merge pull request #50885 from SirQuartz/patch-33
Fix `if` statement in `cluster_builder_rd.h`
This commit is contained in:
commit
fdb74c7512
@ -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
Block a user