diff options
| author | Juan Linietsky | 2017-01-15 16:06:14 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-15 16:07:51 -0300 |
| commit | b400c69cd487f70d8164dd5550eb994253d359d6 (patch) | |
| tree | 3ff9a43ef2fb12fa16bf0aca0f3f56fb7a1cf212 /scene/resources/world.cpp | |
| parent | b24b52d56bb3938bdeff9640b0730d7717f2b4c6 (diff) | |
| download | godot-b400c69cd487f70d8164dd5550eb994253d359d6.tar.gz godot-b400c69cd487f70d8164dd5550eb994253d359d6.tar.zst godot-b400c69cd487f70d8164dd5550eb994253d359d6.zip | |
Diffstat (limited to 'scene/resources/world.cpp')
| -rw-r--r-- | scene/resources/world.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scene/resources/world.cpp b/scene/resources/world.cpp index 3f7261c31..72cb8cc90 100644 --- a/scene/resources/world.cpp +++ b/scene/resources/world.cpp @@ -287,10 +287,6 @@ RID World::get_scenario() const{ return scenario; } -RID World::get_sound_space() const{ - - return sound_space; -} void World::set_environment(const Ref<Environment>& p_environment) { @@ -316,7 +312,6 @@ void World::_bind_methods() { ClassDB::bind_method(_MD("get_space"),&World::get_space); ClassDB::bind_method(_MD("get_scenario"),&World::get_scenario); - ClassDB::bind_method(_MD("get_sound_space"),&World::get_sound_space); ClassDB::bind_method(_MD("set_environment","env:Environment"),&World::set_environment); ClassDB::bind_method(_MD("get_environment:Environment"),&World::get_environment); ClassDB::bind_method(_MD("get_direct_space_state:PhysicsDirectSpaceState"),&World::get_direct_space_state); @@ -329,7 +324,6 @@ World::World() { space = PhysicsServer::get_singleton()->space_create(); scenario = VisualServer::get_singleton()->scenario_create(); - sound_space = SpatialSoundServer::get_singleton()->space_create(); PhysicsServer::get_singleton()->space_set_active(space,true); PhysicsServer::get_singleton()->area_set_param(space,PhysicsServer::AREA_PARAM_GRAVITY,GLOBAL_DEF("physics/3d/default_gravity",9.8)); @@ -348,7 +342,6 @@ World::~World() { PhysicsServer::get_singleton()->free(space); VisualServer::get_singleton()->free(scenario); - SpatialSoundServer::get_singleton()->free(sound_space); #ifndef _3D_DISABLED memdelete( indexer ); |
