1
0
Fork 0
godot/scene/2d
David Nikdel 5afb64e167 Fix for camera limits
This commit makes 2D camera limits have a well defined behavior for cases when the limits are smaller than the screen rect.

Presently the RIGHT and TOP limit take prescidence simply because they are applied second. This change adjusts behavior to split the difference in cases where both the LEFT/RIGHT or TOP/BOTTOM limits would both apply.
2025-05-20 11:09:47 -04:00
..
navigation Capitalize global navigation constants 2025-05-05 12:08:15 -07:00
physics Merge pull request #96611 from Dynamic-Pistol/master 2025-05-13 16:22:25 -05:00
SCsub Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
animated_sprite_2d.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
animated_sprite_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
audio_listener_2d.cpp Remove unused headers in scene. 2024-12-24 00:40:09 +08:00
audio_listener_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
audio_stream_player_2d.compat.inc
audio_stream_player_2d.cpp Add `GLOBAL_GET` cached macros. 2025-04-30 15:08:50 +01:00
audio_stream_player_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
back_buffer_copy.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
back_buffer_copy.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
camera_2d.cpp Fix for camera limits 2025-05-20 11:09:47 -04:00
camera_2d.h Camera2D code cleanup 2025-03-15 19:20:48 +01:00
canvas_group.cpp Add node configuration warnings for nested clipping and CanvasGroups 2025-03-26 21:40:49 -07:00
canvas_group.h Add node configuration warnings for nested clipping and CanvasGroups 2025-03-26 21:40:49 -07:00
canvas_modulate.cpp Fix super call in various `get_configuration_warnings` methods 2024-09-05 16:08:35 +02:00
canvas_modulate.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
cpu_particles_2d.compat.inc Implemented tools around particles seed randomization. 2025-01-11 16:31:24 +01:00
cpu_particles_2d.cpp Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
cpu_particles_2d.h Merge pull request #102249 from Arnklit/particles2d-emission-shapes 2025-03-11 14:01:00 -05:00
gpu_particles_2d.compat.inc Implemented tools around particles seed randomization. 2025-01-11 16:31:24 +01:00
gpu_particles_2d.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
gpu_particles_2d.h Merge pull request #102249 from Arnklit/particles2d-emission-shapes 2025-03-11 14:01:00 -05:00
light_2d.cpp Add enable checkboxes to editor sections 2025-04-15 13:49:41 -07:00
light_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
light_occluder_2d.cpp Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
light_occluder_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
line_2d.cpp Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
line_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
line_builder.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
line_builder.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
marker_2d.cpp Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` 2024-11-02 15:43:18 -03:00
marker_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
mesh_instance_2d.cpp Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
mesh_instance_2d.h Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
multimesh_instance_2d.cpp Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
multimesh_instance_2d.h Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
node_2d.cpp Base accessibility API. 2025-04-08 20:14:28 +03:00
node_2d.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
parallax_2d.cpp Fix editor parallax grid snap movement 2025-01-21 08:21:46 -05:00
parallax_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
parallax_background.cpp
parallax_background.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
parallax_layer.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
parallax_layer.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
path_2d.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
path_2d.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
polygon_2d.cpp Add missing dictionary and array type hints 2025-05-06 12:35:19 -07:00
polygon_2d.h Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
remote_transform_2d.cpp Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
remote_transform_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
skeleton_2d.cpp Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
skeleton_2d.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
sprite_2d.cpp Allow Sprite2D being dragged to change their region_rect 2025-04-28 22:43:41 +08:00
sprite_2d.h Allow Sprite2D being dragged to change their region_rect 2025-04-28 22:43:41 +08:00
tile_map.compat.inc Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
tile_map.cpp Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
tile_map.h Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
tile_map_layer.cpp Capitalize global navigation constants 2025-05-05 12:08:15 -07:00
tile_map_layer.h Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
visible_on_screen_notifier_2d.cpp Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
visible_on_screen_notifier_2d.h Fix incorrect guards in `VisibleOnScreenNotifier2D` 2025-03-21 14:08:02 +01:00