summaryrefslogtreecommitdiffstats
path: root/modules/bullet/bullet_physics_server.cpp
diff options
context:
space:
mode:
authorCamille Mohr-Daurat <pouleyKetchoup@gmail.com>2021-09-15 16:02:40 -0700
committerGitHub <noreply@github.com>2021-09-15 16:02:40 -0700
commit1852afb6b0c8a87cda32a1d830d474b5c6094bf1 (patch)
treebc17be321ae2678deb5b9a0d2f7bec405098313e /modules/bullet/bullet_physics_server.cpp
parenta1a8afafd4de2706710aa6e5876c1aed7431fe43 (diff)
parentbb75aec8bcd52b37ec206e16c6b6b0237c7ba3fe (diff)
downloadredot-engine-1852afb6b0c8a87cda32a1d830d474b5c6094bf1.tar.gz
Merge pull request #52679 from nekomatata/world-boundary-shape
Rename WorldMarginShape to WorldBoundaryShape
Diffstat (limited to 'modules/bullet/bullet_physics_server.cpp')
-rw-r--r--modules/bullet/bullet_physics_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/bullet_physics_server.cpp b/modules/bullet/bullet_physics_server.cpp
index fc876a81cf..ed05e51e53 100644
--- a/modules/bullet/bullet_physics_server.cpp
+++ b/modules/bullet/bullet_physics_server.cpp
@@ -87,8 +87,8 @@ RID BulletPhysicsServer3D::shape_create(ShapeType p_shape) {
ShapeBullet *shape = nullptr;
switch (p_shape) {
- case SHAPE_PLANE: {
- shape = bulletnew(PlaneShapeBullet);
+ case SHAPE_WORLD_BOUNDARY: {
+ shape = bulletnew(WorldBoundaryShapeBullet);
} break;
case SHAPE_SPHERE: {
shape = bulletnew(SphereShapeBullet);