diff options
author | Duroxxigar <young9003@gmail.com> | 2020-10-02 17:03:52 -0400 |
---|---|---|
committer | Duroxxigar <young9003@gmail.com> | 2020-10-02 19:09:01 -0400 |
commit | 4834e14493f14f1c1e219dff7fca66548fb74108 (patch) | |
tree | 9ad1f5e2950813360c9538e459e42b82bd9f17be /modules | |
parent | 9b1c9cef17ef06e5ae80309189464ca6afe7e551 (diff) |
Updated getters and setters names for toplevel
Diffstat (limited to 'modules')
-rw-r--r-- | modules/bullet/space_bullet.cpp | 4 |
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); |