summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDuroxxigar <young9003@gmail.com>2020-10-02 17:03:52 -0400
committerDuroxxigar <young9003@gmail.com>2020-10-02 19:09:01 -0400
commit4834e14493f14f1c1e219dff7fca66548fb74108 (patch)
tree9ad1f5e2950813360c9538e459e42b82bd9f17be /modules
parent9b1c9cef17ef06e5ae80309189464ca6afe7e551 (diff)
Updated getters and setters names for toplevel
Diffstat (limited to 'modules')
-rw-r--r--modules/bullet/space_bullet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp
index d0515e7c97..9f4bfe3cef 100644
--- a/modules/bullet/space_bullet.cpp
+++ b/modules/bullet/space_bullet.cpp
@@ -959,8 +959,8 @@ bool SpaceBullet::test_body_motion(RigidBodyBullet *p_body, const Transform &p_f
SceneTree::get_singleton()->get_current_scene()->add_child(motionVec);
SceneTree::get_singleton()->get_current_scene()->add_child(normalLine);
- motionVec->set_as_toplevel(true);
- normalLine->set_as_toplevel(true);
+ motionVec->set_as_top_level(true);
+ normalLine->set_as_top_level(true);
red_mat = Ref<StandardMaterial3D>(memnew(StandardMaterial3D));
red_mat->set_shading_mode(StandardMaterial3D::SHADING_MODE_UNSHADED);