From 1d9554103cc5d700d3bd7f3fcf70df9872d93bb2 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sun, 29 Oct 2023 22:45:47 +0100 Subject: [PATCH] Ensure SoftBody3D does not use compressed mesh format. --- scene/3d/soft_body_3d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/3d/soft_body_3d.cpp b/scene/3d/soft_body_3d.cpp index 1f12f96fb368..db2c0e13879b 100644 --- a/scene/3d/soft_body_3d.cpp +++ b/scene/3d/soft_body_3d.cpp @@ -471,6 +471,7 @@ void SoftBody3D::_become_mesh_owner() { uint32_t surface_format = mesh->surface_get_format(0); surface_format |= Mesh::ARRAY_FLAG_USE_DYNAMIC_UPDATE; + surface_format &= ~Mesh::ARRAY_FLAG_COMPRESS_ATTRIBUTES; Ref soft_mesh; soft_mesh.instantiate();