diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-04 12:25:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 12:25:36 +0100 |
commit | 0ff45dd3a7ff28b7fb686cb6e8640926f885038a (patch) | |
tree | 525367bb4fdc1b804d16de6bef13b90281c2a0df /modules/bullet/shape_bullet.cpp | |
parent | 7de48982fed1bcc60ae3f4a9a08d04b167b26356 (diff) | |
parent | 4219485a827ff37dc25c72786c8786962e5b55f2 (diff) | |
download | redot-engine-0ff45dd3a7ff28b7fb686cb6e8640926f885038a.tar.gz |
Merge pull request #58673 from Calinou/smooth-trimesh-collision-always-setting
Diffstat (limited to 'modules/bullet/shape_bullet.cpp')
-rw-r--r-- | modules/bullet/shape_bullet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp index 77a583ad86..cf6bcb6c85 100644 --- a/modules/bullet/shape_bullet.cpp +++ b/modules/bullet/shape_bullet.cpp @@ -422,7 +422,7 @@ void ConcavePolygonShapeBullet::setup(Vector<Vector3> p_faces) { meshShape = bulletnew(btBvhTriangleMeshShape(shapeInterface, useQuantizedAabbCompression)); - if (GLOBAL_DEF("physics/3d/smooth_trimesh_collision", false)) { + if (GLOBAL_GET("physics/3d/smooth_trimesh_collision")) { btTriangleInfoMap *triangleInfoMap = new btTriangleInfoMap(); btGenerateInternalEdgeInfo(meshShape, triangleInfoMap); } |