godot/editor
Kiri Jolly cc27b4560f Othographic camera in-editor now uses Z near/far settings instead of a hardcoded value
Fixes #18809.

The in-editor ortho camera used a far clipping plane of 8192 units, and was
placed 4096 units away from the camera cursor.

This was far enough to cause culling issues from floating point precision loss
on objects smaller than one unit.

This change modifies the near/far clipping planes of the ortho camera to use
those specified in the editor (and currently used by the perspective camera).
The frustum is still centered around the camera cursor location, as it was
before.

(cherry picked from commit 26912c15e6)
2020-04-10 17:19:49 +02:00
..
debugger Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
fileserver SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
icons Merge pull request #37344 from YeldhamDev/dialog_node_icons 2020-04-10 13:13:24 +02:00
import Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
plugins Othographic camera in-editor now uses Z near/far settings instead of a hardcoded value 2020-04-10 17:19:49 +02:00
translations SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
animation_bezier_editor.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
animation_bezier_editor.h
animation_track_editor_plugins.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
animation_track_editor_plugins.h
animation_track_editor.cpp Merge pull request #37602 from Janglee123/reversed-zoom-scale-animtion-player 2020-04-10 11:55:33 +02:00
animation_track_editor.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
array_property_edit.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
array_property_edit.h
audio_stream_preview.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
audio_stream_preview.h
code_editor.cpp Merge pull request #37447 from ThakeeNathees/text-replace-empty-string-fix 2020-04-06 11:28:42 +02:00
code_editor.h
connections_dialog.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
connections_dialog.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
create_dialog.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
create_dialog.h
dependency_editor.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
dependency_editor.h
dictionary_property_edit.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
dictionary_property_edit.h
doc_data.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
doc_data.h Move DocData and Collada out of their subfolders 2020-03-24 09:56:04 +01:00
editor_about.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_about.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
editor_asset_installer.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_asset_installer.h
editor_atlas_packer.cpp
editor_atlas_packer.h
editor_audio_buses.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_audio_buses.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_autoload_settings.cpp Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings. 2020-04-05 14:10:30 +05:30
editor_autoload_settings.h Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings. 2020-04-05 14:10:30 +05:30
editor_builders.py Replace more occurrences of NULL with nullptr 2020-04-02 14:56:01 +02:00
editor_data.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_data.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_dir_dialog.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
editor_dir_dialog.h
editor_export.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_export.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_feature_profile.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_feature_profile.h
editor_file_dialog.cpp Merge pull request #37592 from Anutrix/dissolving_class 2020-04-07 09:15:21 +02:00
editor_file_dialog.h Dissolving class EditorLineEditFileChooser into EditorAutoloadSettings. 2020-04-05 14:10:30 +05:30
editor_file_system.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_file_system.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_folding.cpp
editor_folding.h
editor_fonts.cpp Fix default editor font. 2020-03-27 14:13:01 +02:00
editor_fonts.h
editor_help_search.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_help_search.h
editor_help.cpp Merge pull request #35720 from Calinou/remove-request-docs-button 2020-04-02 16:45:01 +02:00
editor_help.h Remove unnecessary panel in EditorHelpBit 2020-04-06 18:40:06 -03:00
editor_inspector.cpp Refactored shadowmapping. 2020-04-08 11:19:43 -03:00
editor_inspector.h
editor_layouts_dialog.cpp Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
editor_layouts_dialog.h
editor_log.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_log.h
editor_node.cpp Refactored shadowmapping. 2020-04-08 11:19:43 -03:00
editor_node.h Remove Request Docs button in the script editor due to various issues 2020-04-02 14:07:03 +02:00
editor_path.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
editor_path.h
editor_plugin_settings.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
editor_plugin_settings.h
editor_plugin.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_plugin.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_properties_array_dict.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_properties_array_dict.h
editor_properties.cpp Remove Node.get_position_in_parent() 2020-04-06 01:19:20 +02:00
editor_properties.h
editor_resource_preview.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_resource_preview.h
editor_run_native.cpp
editor_run_native.h
editor_run_script.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_run_script.h
editor_run.cpp Add macOS DisplayServer implementation. 2020-03-26 16:24:05 +01:00
editor_run.h
editor_scale.cpp
editor_scale.h
editor_sectioned_inspector.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_sectioned_inspector.h
editor_settings.cpp Merge pull request #37391 from dreamsComeTrue/embedded-windows-mode 2020-04-04 07:58:53 +02:00
editor_settings.h
editor_spin_slider.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_spin_slider.h Popups have also been converted to windows 2020-03-26 15:49:44 +01:00
editor_sub_scene.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_sub_scene.h
editor_themes.cpp Merge pull request #37517 from nekomatata/slider-grab-area-highlight 2020-04-10 12:08:02 +02:00
editor_themes.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_vcs_interface.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_vcs_interface.h
export_template_manager.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
export_template_manager.h
filesystem_dock.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
filesystem_dock.h
find_in_files.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
find_in_files.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
groups_editor.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
groups_editor.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
import_dock.cpp Fix changing the import type of multiple files at once 2020-04-05 15:13:29 -03:00
import_dock.h
inspector_dock.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
inspector_dock.h
multi_node_edit.cpp
multi_node_edit.h
node_3d_editor_gizmos.cpp Rename all gizmo classes, using the 4.0 node names. 2020-04-07 10:02:18 +02:00
node_3d_editor_gizmos.h Rename all gizmo classes, using the 4.0 node names. 2020-04-07 10:02:18 +02:00
node_dock.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
node_dock.h
pane_drag.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
pane_drag.h
plugin_config_dialog.cpp Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
plugin_config_dialog.h
progress_dialog.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
progress_dialog.h Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
project_export.cpp Remove unnecessary Panel in "Features" section in the Export dialog 2020-04-05 00:08:53 -03:00
project_export.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
project_manager.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
project_manager.h Add macOS DisplayServer implementation. 2020-03-26 16:24:05 +01:00
project_settings_editor.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
project_settings_editor.h Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
property_editor.cpp Remove Node.get_position_in_parent() 2020-04-06 01:19:20 +02:00
property_editor.h Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
property_selector.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
property_selector.h
pvrtc_compress.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
pvrtc_compress.h
quick_open.cpp Fix signal disconnection soon after connection in EditorQuickOpen 2020-04-08 14:08:50 +05:30
quick_open.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
register_exporters.h
rename_dialog.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
rename_dialog.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
reparent_dialog.cpp Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
reparent_dialog.h
run_settings_dialog.cpp
run_settings_dialog.h
scene_tree_dock.cpp Remove Node.get_position_in_parent() 2020-04-06 01:19:20 +02:00
scene_tree_dock.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
scene_tree_editor.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
scene_tree_editor.h
script_create_dialog.cpp Warn about built-in script limitations in the script creation dialog 2020-04-04 13:44:13 +02:00
script_create_dialog.h Warn about built-in script limitations in the script creation dialog 2020-04-04 13:44:13 +02:00
SCsub Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
settings_config_dialog.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
settings_config_dialog.h