Organize methods in Viewport and explicitly name 3D methods with 3D

This commit is contained in:
Aaron Franke 2021-08-02 12:31:51 -05:00
parent 50d5569ad4
commit 339687e04f
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
9 changed files with 526 additions and 564 deletions

View file

@ -565,7 +565,7 @@ void EditorNode::_notification(int p_what) {
Engine::get_singleton()->set_editor_hint(true);
OS::get_singleton()->set_low_processor_usage_mode_sleep_usec(int(EDITOR_GET("interface/editor/low_processor_mode_sleep_usec")));
get_tree()->get_root()->set_as_audio_listener(false);
get_tree()->get_root()->set_as_audio_listener_3d(false);
get_tree()->get_root()->set_as_audio_listener_2d(false);
get_tree()->get_root()->set_snap_2d_transforms_to_pixel(false);
get_tree()->get_root()->set_snap_2d_vertices_to_pixel(false);