godot/editor/plugins
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
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
abstract_polygon_2d_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
abstract_polygon_2d_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_blend_space_1d_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation_blend_space_1d_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_blend_space_2d_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation_blend_space_2d_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_blend_tree_editor_plugin.cpp [3.x] Draggin in/out from ports to create nodes in Animation Blend Tree 2021-09-23 12:09:19 +03:00
animation_blend_tree_editor_plugin.h [3.x] Draggin in/out from ports to create nodes in Animation Blend Tree 2021-09-23 12:09:19 +03:00
animation_player_editor_plugin.cpp Fix 3D Onion skinning missing 2021-09-14 13:37:23 +02:00
animation_player_editor_plugin.h Fix 3D Onion skinning missing 2021-09-14 13:37:23 +02:00
animation_state_machine_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation_state_machine_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_tree_editor_plugin.cpp Fix make sub-resource crash in AnimationTreeEditor 2021-10-10 12:27:51 +02:00
animation_tree_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_tree_player_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation_tree_player_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
asset_library_editor_plugin.cpp Clarify the purpose of the default asset library URLs in the editor 2021-07-24 01:01:14 +02:00
asset_library_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
audio_stream_editor_plugin.cpp Improve the editor audio preview inspector appearance and functionality 2021-05-09 17:41:09 +02:00
audio_stream_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
baked_lightmap_editor_plugin.cpp Fix editor getting stuck after baking lightmaps from a script 2021-09-12 01:01:29 +02:00
baked_lightmap_editor_plugin.h Print time taken and request attention when lightmaps are done baking 2021-06-25 20:58:05 +02:00
camera_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
camera_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
canvas_item_editor_plugin.cpp clang-format: Enable `BreakBeforeTernaryOperators` 2021-10-28 14:50:33 +02:00
canvas_item_editor_plugin.h Include locked nodes on selection list 2021-08-18 13:27:33 +02:00
collision_polygon_2d_editor_plugin.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
collision_polygon_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
collision_polygon_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
collision_polygon_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
collision_shape_2d_editor_plugin.cpp Allow for easier editing of rect CollisionShape2D 2021-07-24 21:31:32 +02:00
collision_shape_2d_editor_plugin.h Allow for easier editing of rect CollisionShape2D 2021-07-24 21:31:32 +02:00
cpu_particles_2d_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
cpu_particles_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
cpu_particles_editor_plugin.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
cpu_particles_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
curve_editor_plugin.cpp clang-format: Enable `BreakBeforeTernaryOperators` 2021-10-28 14:50:33 +02:00
curve_editor_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_preview_plugins.cpp Highlight control flow keywords with a different color 2021-05-25 00:31:39 +02:00
editor_preview_plugins.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
gi_probe_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
gi_probe_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
gradient_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
gradient_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
item_list_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
item_list_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
light_occluder_2d_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
light_occluder_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
line_2d_editor_plugin.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
line_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
material_editor_plugin.cpp Conversion now includes "Local to scene" flag and name 2021-09-21 17:15:00 +02:00
material_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
mesh_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
mesh_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
mesh_instance_editor_plugin.cpp Improve MeshInstance3D UV preview in the editor 2021-07-28 15:37:40 +02:00
mesh_instance_editor_plugin.h Options to clean/simplify convex hull generated from mesh 2021-07-09 17:45:59 -07:00
mesh_library_editor_plugin.cpp implement individual mesh transform for meshlibrary items 2021-09-14 13:41:22 +02:00
mesh_library_editor_plugin.h implement individual mesh transform for meshlibrary items 2021-09-14 13:41:22 +02:00
multimesh_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
multimesh_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
navigation_polygon_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
navigation_polygon_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
particles_2d_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
particles_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
particles_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
particles_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
path_2d_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
path_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
path_editor_plugin.cpp clang-format: Various fixes to comments alignment from `clang-format` 13 2021-10-28 14:50:32 +02:00
path_editor_plugin.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
physical_bone_plugin.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
physical_bone_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
polygon_2d_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
polygon_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
resource_preloader_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
resource_preloader_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
room_manager_editor_plugin.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
room_manager_editor_plugin.h Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
root_motion_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
root_motion_editor_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_editor_plugin.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
script_editor_plugin.h Add history navigation in the script editor using extra mouse buttons 2021-09-25 20:33:57 +02:00
script_text_editor.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
script_text_editor.h Improve Undo/Redo menu items 2021-08-18 00:46:51 +08:00
shader_editor_plugin.cpp doc: Point URLs to 3.4 version of the online docs 2021-08-12 17:08:10 +02:00
shader_editor_plugin.h Script editor: Rename 'Clone Down' to 'Duplicate Selection' 2021-07-06 11:10:44 +02:00
skeleton_2d_editor_plugin.cpp Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose" 2021-09-19 11:30:21 +02:00
skeleton_2d_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
skeleton_editor_plugin.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
skeleton_editor_plugin.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
skeleton_ik_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
skeleton_ik_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
spatial_editor_plugin.cpp Clamp rotation for up/down orbiting shortcuts. 2021-11-15 22:30:27 +01:00
spatial_editor_plugin.h Merge pull request #51438 from timothyqiu/selection-box-sep-3x 2021-10-05 13:55:36 +02:00
sprite_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
sprite_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
sprite_frames_editor_plugin.cpp SpriteFramesEditor Fix preview grid in "Select Frames" dialog 2021-09-21 20:33:07 +02:00
sprite_frames_editor_plugin.h SpriteFramesEditor Fix preview grid in "Select Frames" dialog 2021-09-21 20:33:07 +02:00
style_box_editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
style_box_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
text_editor.cpp Fix TextEditor not checking Standard highlighter in non-English UI 2021-08-18 10:42:12 +08:00
text_editor.h Improve Undo/Redo menu items 2021-08-18 00:46:51 +08:00
texture_editor_plugin.cpp TexturePreview Update text when texture is being changed 2021-09-24 18:55:58 +02:00
texture_editor_plugin.h TexturePreview Update text when texture is being changed 2021-09-24 18:55:58 +02:00
texture_region_editor_plugin.cpp Don't use the abbrevation "Sep." in UI text 2021-06-17 11:49:31 +02:00
texture_region_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
theme_editor_plugin.cpp Add a flag to EditorResourcePicker to differentiate selection contexts 2021-11-02 14:15:14 +03:00
theme_editor_plugin.h Add a flag to EditorResourcePicker to differentiate selection contexts 2021-11-02 14:15:14 +03:00
theme_editor_preview.cpp Fix control picker in the Theme editor 2021-07-16 21:36:54 +03:00
theme_editor_preview.h Fix control picker in the Theme editor 2021-07-16 21:36:54 +03:00
tile_map_editor_plugin.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
tile_map_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
tile_set_editor_plugin.cpp Increase the TileSet editor's snap step to 1024 2021-05-18 23:38:22 +02:00
tile_set_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
version_control_editor_plugin.cpp Merge pull request #52591 from timothyqiu/error-macros 2021-09-21 10:38:34 +02:00
version_control_editor_plugin.h VCS: Allow to stage and commit all files with Ctrl + Enter 2021-07-17 13:00:27 +03:00
viewport_preview_editor_plugin.cpp Add viewport preview plugin and refactor TextureEditorPlugin 2021-07-18 14:49:45 -06:00
viewport_preview_editor_plugin.h Add viewport preview plugin and refactor TextureEditorPlugin 2021-07-18 14:49:45 -06:00
visual_shader_editor_plugin.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
visual_shader_editor_plugin.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00