diff options
author | Andrea Catania <info@andreacatania.com> | 2020-02-21 12:19:24 +0100 |
---|---|---|
committer | Andrea Catania <info@andreacatania.com> | 2020-02-27 17:45:16 +0100 |
commit | 2e0fb66c6f5dd280a28bffb1233e400afa1a698d (patch) | |
tree | 66fbd7942070c7dcf49264eb8eacead0ffad6359 /scene/3d/collision_shape.cpp | |
parent | 3b64ecbc4b2dcc1fe254406aa5b3272b2d7d4876 (diff) | |
download | redot-engine-2e0fb66c6f5dd280a28bffb1233e400afa1a698d.tar.gz |
Renamed PlaneShape to WorldMarginShape
Diffstat (limited to 'scene/3d/collision_shape.cpp')
-rw-r--r-- | scene/3d/collision_shape.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scene/3d/collision_shape.cpp b/scene/3d/collision_shape.cpp index d0d775d557..c7a92b66e1 100644 --- a/scene/3d/collision_shape.cpp +++ b/scene/3d/collision_shape.cpp @@ -33,9 +33,9 @@ #include "scene/resources/capsule_shape.h" #include "scene/resources/concave_polygon_shape.h" #include "scene/resources/convex_polygon_shape.h" -#include "scene/resources/plane_shape.h" #include "scene/resources/ray_shape.h" #include "scene/resources/sphere_shape.h" +#include "scene/resources/world_margin_shape.h" #include "servers/visual_server.h" //TODO: Implement CylinderShape and HeightMapShape? #include "core/math/quick_hull.h" @@ -123,10 +123,6 @@ String CollisionShape::get_configuration_warning() const { return TTR("A shape must be provided for CollisionShape to function. Please create a shape resource for it."); } - if (shape->is_class("PlaneShape")) { - return TTR("Plane shapes don't work well and will be removed in future versions. Please don't use them."); - } - return String(); } |