godot/editor
Ryan Roden-Corrent a9a3702d69
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down.

This was suggested at:
https://github.com/godotengine/godot/pull/51984#issuecomment-948614191:

> For 3.4, I think we can just clamp the angle value when using the
> camera orbiting shortcuts. We can investigate what to do with panning
> and freelook in 3.5 and 4.0.

(cherry picked from commit 3bd7c4f2a9)
2021-11-15 22:30:27 +01:00
..
collada clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
doc Ignore OS specific values (constants, project settings, properties) 2021-10-10 23:40:32 +03:00
fileserver Make all file access 64-bit (`uint64_t`) 2021-05-16 17:52:31 +02:00
icons Add Listener2D 2021-10-05 13:29:59 +02:00
import Prevent obj importer from printing misleading error 2021-11-15 22:24:45 +01:00
plugins Clamp rotation for up/down orbiting shortcuts. 2021-11-15 22:30:27 +01:00
translations i18n: Sync editor translations with Weblate 2021-11-03 14:56:44 +01:00
SCsub i18n: Sync classref translations with Weblate 2021-11-03 15:00:52 +01:00
animation_bezier_editor.cpp Improve the animation bezier editor 2021-08-18 23:11:46 +02:00
animation_bezier_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_track_editor.cpp Improve the animation bezier editor 2021-08-18 23:11:46 +02:00
animation_track_editor.h Merge pull request #47222 from dreamsComeTrue/anim-track-improv 2021-07-30 23:42:55 +02:00
animation_track_editor_plugins.cpp Preview the color animation in the animation editor 2021-06-03 12:24:57 +02:00
animation_track_editor_plugins.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
array_property_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
audio_stream_preview.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
audio_stream_preview.h Modernize atomics 2021-02-18 12:23:25 +01:00
code_editor.cpp Tweak the script editor's line/column indicator for readability 2021-09-21 17:15:00 +02:00
code_editor.h Script editor: Rename 'Clone Down' to 'Duplicate Selection' 2021-07-06 11:10:44 +02:00
connections_dialog.cpp Use translated docs in PropertySelector 2021-10-07 12:48:23 +02:00
connections_dialog.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
create_dialog.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
create_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
dependency_editor.cpp Dependency editor: Edit message about move to trash 2021-08-03 09:33:25 +02:00
dependency_editor.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
dictionary_property_edit.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
dictionary_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
editor_about.h Make it possible to copy the Godot version identifier by clicking it 2021-05-04 16:38:17 +02:00
editor_asset_installer.cpp [3.x] Allow reading shaders from .gdshader files 2021-07-19 23:34:23 -04:00
editor_asset_installer.h Automatically display the installer after downloading an asset 2021-07-13 11:19:46 +02:00
editor_atlas_packer.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_atlas_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.cpp Fix theming in the audio bus editor 2021-07-31 21:43:14 +03:00
editor_audio_buses.h Improve the audio bus editor appearance 2021-06-01 12:53:30 +02:00
editor_autoload_settings.cpp Put multiple colons back into translated strings 2021-07-31 20:18:24 +03:00
editor_autoload_settings.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_builders.py i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
editor_data.cpp Close built-in script from any scene 2021-09-19 11:30:29 +02:00
editor_data.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_dir_dialog.cpp Set dialog folder icon color 2021-09-27 19:10:20 +01:00
editor_dir_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_export.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
editor_export.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_feature_profile.cpp Fix various i18n failures 2021-08-03 23:36:43 +08:00
editor_feature_profile.h Improve the editor feature profiles UX 2021-06-16 07:04:13 +02:00
editor_file_dialog.cpp Make the project data directory customizable. 2021-10-11 14:42:40 -07:00
editor_file_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_file_system.cpp Restrict the project data directory configuration. 2021-10-13 13:56:01 -07:00
editor_file_system.h Make the project data directory customizable. 2021-10-11 14:42:40 -07:00
editor_folding.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_folding.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_fonts.cpp Improve editor text appearance in (un)zoomed GraphEdit-based editors 2021-02-06 19:24:05 +01:00
editor_fonts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.cpp Change in-editor documentation style to be closer to online docs. 2021-10-07 12:48:23 +02:00
editor_help.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_help_search.cpp Add theme item descriptions to the online documentation 2021-08-06 18:20:51 +03:00
editor_help_search.h Add theme item descriptions to the online documentation 2021-08-06 18:20:51 +03:00
editor_inspector.cpp Use translated docs in PropertySelector 2021-10-07 12:48:23 +02:00
editor_inspector.h Rationalize property reversion 2021-08-02 17:58:04 +02:00
editor_layouts_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_layouts_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_log.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_log.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_network_profiler.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_network_profiler.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_node.cpp Fix editor saving blank scenes (for real) 2021-11-15 22:26:45 +01:00
editor_node.h Save all 64 bits of get_ticks_msec() in more cases 2021-10-26 18:23:31 +02:00
editor_path.cpp Make several actions in the Inspector dock more obvious 2021-07-16 23:27:00 +03:00
editor_path.h Make several actions in the Inspector dock more obvious 2021-07-16 23:27:00 +03:00
editor_plugin.cpp Validate parameters when adding plugins 2021-06-17 12:47:54 +02:00
editor_plugin.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_plugin_settings.cpp Remove colon from column titles 2021-08-03 09:15:33 +02:00
editor_plugin_settings.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_profiler.cpp Add a tooltip for Inclusive and Self in the editor profiler 2021-07-26 13:29:11 +02:00
editor_profiler.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_properties.cpp Add a flag to EditorResourcePicker to differentiate selection contexts 2021-11-02 14:15:14 +03:00
editor_properties.h Add a flag to EditorResourcePicker to differentiate selection contexts 2021-11-02 14:15:14 +03:00
editor_properties_array_dict.cpp Fixed drag and drop not respecting type on exported arrays. 2021-10-01 13:26:15 -06:00
editor_properties_array_dict.h Added properties and methods to allow for dragging and dropping multiple files onto exported arrays. 2021-10-01 13:24:41 -06:00
editor_resource_picker.cpp Add a flag to EditorResourcePicker to differentiate selection contexts 2021-11-02 14:15:14 +03:00
editor_resource_picker.h Add QuickLoad option to resource picker. 2021-09-21 20:33:11 +02:00
editor_resource_preview.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
editor_resource_preview.h Update EditorResourcePreview queue_*() documentation 2021-05-26 08:39:52 +01:00
editor_run.cpp Implement the `%command%` placeholder in the Main Run Args setting 2021-05-09 17:47:38 +02:00
editor_run.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_run_native.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_run_script.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_run_script.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_scale.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_scale.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_sectioned_inspector.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_settings.cpp Change editor FPS limit for unfocused mode back to 20 FPS 2021-10-12 16:56:09 +02:00
editor_settings.h Handle portrait mode monitors in the automatic editor scale detection 2021-06-17 12:47:52 +02:00
editor_spin_slider.cpp EditorSpinSlider: Add arg name for _value_input_gui_input binding 2021-11-01 15:02:44 +01:00
editor_spin_slider.h Add up/down keys to inc/dec val in spin slider 2021-09-29 14:09:27 -04:00
editor_sub_scene.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_sub_scene.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_themes.cpp Add focus font color to Button and derivatives 2021-10-26 17:40:51 +03:00
editor_themes.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_vcs_interface.cpp Remove do{ } while(0) wrapper around error macros 2021-09-12 15:04:53 +08:00
editor_vcs_interface.h Make `EditorVCSInterface` proxy functions virtual in C++ 2021-07-13 09:46:49 +02:00
export_template_manager.cpp Make mirror button in Template Manager use the lighter version of its icon 2021-09-25 15:15:58 -03:00
export_template_manager.h Addes ability to load build sources from file. 2021-07-20 13:05:10 +02:00
filesystem_dock.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
filesystem_dock.h Backport filesystem dock sorting to 3.x 2021-07-19 12:31:28 -04:00
find_in_files.cpp Save all 64 bits of get_ticks_msec() in more cases 2021-10-26 18:23:31 +02:00
find_in_files.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.cpp Backport ability to copy group name 2021-10-21 03:54:44 -04:00
groups_editor.h Backport ability to copy group name 2021-10-21 03:54:44 -04:00
import_defaults_editor.cpp Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
import_defaults_editor.h Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_dock.cpp Add a "dirty" marker to the editor import dock for unsaved changes 2021-10-10 01:06:05 +02:00
import_dock.h Add a "dirty" marker to the editor import dock for unsaved changes 2021-10-10 01:06:05 +02:00
inspector_dock.cpp Disable "Edit Resource from Clipboard" menu item when nothing in clipboard 2021-08-16 22:36:49 +08:00
inspector_dock.h Disable "Edit Resource from Clipboard" menu item when nothing in clipboard 2021-08-16 22:36:49 +08:00
multi_node_edit.cpp MultiNodeEdit Fix setting NodePath 2021-09-21 17:14:59 +02:00
multi_node_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
node_dock.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
node_dock.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
pane_drag.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
pane_drag.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
plugin_config_dialog.cpp Use modules_enabled.gen.h to improve inter dependency checks 2021-07-14 23:36:38 +02:00
plugin_config_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
progress_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
progress_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
project_export.cpp Use bullet points in the editor instead of dashes where relevant 2021-07-28 19:47:11 +02:00
project_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_manager.cpp Provide a getter for the project data directory. 2021-09-15 13:00:25 -07:00
project_manager.h Merge pull request #47201 from LightningAA/delete-from-project-manager-3.x 2021-07-23 22:17:55 +02:00
project_settings_editor.cpp List Physical Key before Key in the action map input editor 2021-10-12 11:57:08 +02:00
project_settings_editor.h List Physical Key before Key in the action map input editor 2021-10-12 11:57:08 +02:00
property_editor.cpp Fix casing of the "to" stop word in editor strings 2021-07-13 15:28:00 +02:00
property_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
property_selector.cpp Use translated docs in PropertySelector 2021-10-07 12:48:23 +02:00
property_selector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.cpp Fix support for multiple base types in the quick load dialog 2021-10-23 12:09:23 +02:00
quick_open.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
register_exporters.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
rename_dialog.h [3.x] Allow disabling the RegEx module in the editor 2021-09-21 08:49:17 -05:00
reparent_dialog.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
reparent_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
run_settings_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
run_settings_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
scene_tree_dock.cpp SceneTreeDock Ensure to deactivate multi edit when selection changes to a single node 2021-09-29 11:05:05 +02:00
scene_tree_dock.h [3.x] Allow disabling the RegEx module in the editor 2021-09-21 08:49:17 -05:00
scene_tree_editor.cpp Fix right clicking sub nodes after renaming parent 2021-10-10 12:27:51 +02:00
scene_tree_editor.h Merge pull request #47222 from dreamsComeTrue/anim-track-improv 2021-07-30 23:42:55 +02:00
script_create_dialog.cpp Use bullet points in the editor instead of dashes where relevant 2021-07-28 19:47:11 +02:00
script_create_dialog.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
script_editor_debugger.cpp Color error and warning lines in the editor debugger's Errors panel 2021-09-24 15:53:41 +02:00
script_editor_debugger.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
settings_config_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
settings_config_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
spatial_editor_gizmos.cpp Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00
spatial_editor_gizmos.h Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00