summaryrefslogtreecommitdiffstats
path: root/scene/3d/soft_body_3d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:22:57 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-03-30 18:23:02 +0200
commiteaaee63b629d6999fcc0c84e38886b964f6d051d (patch)
tree136e327aa916afe2255bcf5d718963f2b1a84a4b /scene/3d/soft_body_3d.cpp
parent0168709978154a89f137b44f33647e5d28a46250 (diff)
downloadredot-engine-eaaee63b629d6999fcc0c84e38886b964f6d051d.tar.gz
doc: Update classref with node renames
A few extra renames for classes which were missed in last week's PRs.
Diffstat (limited to 'scene/3d/soft_body_3d.cpp')
-rw-r--r--scene/3d/soft_body_3d.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/scene/3d/soft_body_3d.cpp b/scene/3d/soft_body_3d.cpp
index ee9ce1dd71..6d2808cfce 100644
--- a/scene/3d/soft_body_3d.cpp
+++ b/scene/3d/soft_body_3d.cpp
@@ -29,6 +29,7 @@
/*************************************************************************/
#include "soft_body_3d.h"
+
#include "core/list.h"
#include "core/object.h"
#include "core/os/os.h"
@@ -402,7 +403,7 @@ String SoftBody3D::get_configuration_warning() const {
if (!warning.empty())
warning += "\n\n";
- warning += TTR("Size changes to SoftBody will be overridden by the physics engine when running.\nChange the size in children collision shapes instead.");
+ warning += TTR("Size changes to SoftBody3D will be overridden by the physics engine when running.\nChange the size in children collision shapes instead.");
}
return warning;
@@ -585,14 +586,14 @@ Array SoftBody3D::get_collision_exceptions() {
void SoftBody3D::add_collision_exception_with(Node *p_node) {
ERR_FAIL_NULL(p_node);
CollisionObject3D *collision_object = Object::cast_to<CollisionObject3D>(p_node);
- ERR_FAIL_COND_MSG(!collision_object, "Collision exception only works between two CollisionObject.");
+ ERR_FAIL_COND_MSG(!collision_object, "Collision exception only works between two CollisionObject3Ds.");
PhysicsServer3D::get_singleton()->soft_body_add_collision_exception(physics_rid, collision_object->get_rid());
}
void SoftBody3D::remove_collision_exception_with(Node *p_node) {
ERR_FAIL_NULL(p_node);
CollisionObject3D *collision_object = Object::cast_to<CollisionObject3D>(p_node);
- ERR_FAIL_COND_MSG(!collision_object, "Collision exception only works between two CollisionObject.");
+ ERR_FAIL_COND_MSG(!collision_object, "Collision exception only works between two CollisionObject3Ds.");
PhysicsServer3D::get_singleton()->soft_body_remove_collision_exception(physics_rid, collision_object->get_rid());
}