diff options
author | qarmin <mikrutrafal54@gmail.com> | 2020-04-18 11:00:51 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2020-04-18 11:00:51 +0200 |
commit | 559bc3ca87042d477331ecd32f1881ce8d0b5d91 (patch) | |
tree | 7039216faa9c9261f60bcc726ac3453257dd9127 /scene/3d/visual_instance_3d.cpp | |
parent | d817be92c2d9edce842ab37ab13117743f8a3bee (diff) | |
download | redot-engine-559bc3ca87042d477331ecd32f1881ce8d0b5d91.tar.gz |
Change non-existent World to World3D
Diffstat (limited to 'scene/3d/visual_instance_3d.cpp')
-rw-r--r-- | scene/3d/visual_instance_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/visual_instance_3d.cpp b/scene/3d/visual_instance_3d.cpp index 604bc53422..ce8672c1dd 100644 --- a/scene/3d/visual_instance_3d.cpp +++ b/scene/3d/visual_instance_3d.cpp @@ -60,8 +60,8 @@ void VisualInstance3D::_notification(int p_what) { if (skeleton) RenderingServer::get_singleton()->instance_attach_skeleton( instance, skeleton->get_skeleton() ); */ - ERR_FAIL_COND(get_world().is_null()); - RenderingServer::get_singleton()->instance_set_scenario(instance, get_world()->get_scenario()); + ERR_FAIL_COND(get_world_3d().is_null()); + RenderingServer::get_singleton()->instance_set_scenario(instance, get_world_3d()->get_scenario()); _update_visibility(); } break; |