godot/editor/plugins
lawnjelly eaf8e5ce52 Change CameraMatrix::get_viewport_size to get_viewport_half_extents
Fixes #26637.
Fixes #19900.

The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.

Code which called this function has also been modified accordingly.

This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.

It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
..
abstract_polygon_2d_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
abstract_polygon_2d_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_blend_space_1d_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_blend_space_1d_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_blend_space_2d_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_blend_space_2d_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_blend_tree_editor_plugin.cpp Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit 2020-01-18 12:12:13 -08:00
animation_blend_tree_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_player_editor_plugin.cpp Animation editor: Set resource name when duplicating 2020-01-13 13:22:06 +01:00
animation_player_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_state_machine_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_state_machine_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_tree_editor_plugin.cpp Fixes min size of various editor plugins on HiDPI 2020-01-12 15:24:15 +08:00
animation_tree_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
animation_tree_player_editor_plugin.cpp Fixes AnimationTreePlayer editor on HiDPI 2020-01-19 10:20:53 +08:00
animation_tree_player_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
asset_library_editor_plugin.cpp AssetLibrary when the download size is unknown: 2020-01-18 21:07:51 +01:00
asset_library_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_editor_plugin.cpp Fixes min size of various editor plugins on HiDPI 2020-01-12 15:24:15 +08:00
audio_stream_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
baked_lightmap_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
baked_lightmap_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
canvas_item_editor_plugin.cpp Clamp the editor scale to 1 when resetting zoom in the 2D editor 2020-01-18 22:26:21 +01:00
canvas_item_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_shape_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_shape_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles_2d_editor_plugin.cpp Makes more strings translatable 2020-01-04 13:46:38 +08:00
cpu_particles_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
curve_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
curve_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_preview_plugins.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_preview_plugins.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gi_probe_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gi_probe_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gradient_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gradient_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
item_list_editor_plugin.cpp Increase the size of the item list editor popup 2020-01-12 18:19:39 +01:00
item_list_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
light_occluder_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
light_occluder_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
material_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
material_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_library_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_library_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multimesh_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multimesh_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation_polygon_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation_polygon_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_2d_editor_plugin.cpp Makes more strings translatable 2020-01-04 13:46:38 +08:00
particles_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physical_bone_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physical_bone_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
polygon_2d_editor_plugin.cpp Cleanup unnecessary code from before the scrollbar overlapping fixes 2020-01-14 18:19:12 -03:00
polygon_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource_preloader_editor_plugin.cpp Fixes min size of various editor plugins on HiDPI 2020-01-12 15:24:15 +08:00
resource_preloader_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
root_motion_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
root_motion_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_editor_plugin.cpp Add option to disable loading scripts in ScriptCreateDialog 2020-01-09 13:09:23 -03:00
script_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_text_editor.cpp Fixed unknown symbol drawn instead of tabs in breakpoints/bookmarks lists 2020-01-16 13:50:30 +01:00
script_text_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
shader_editor_plugin.cpp Fix minimap updating in shader tab 2020-01-18 12:31:33 +03:00
shader_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_2d_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_2d_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_ik_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton_ik_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_editor_plugin.cpp Change CameraMatrix::get_viewport_size to get_viewport_half_extents 2020-01-22 18:22:00 +00:00
spatial_editor_plugin.h Add a crosshair to the 3D viewport 2020-01-13 22:30:34 +01:00
sprite_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite_frames_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite_frames_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
style_box_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
style_box_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
text_editor.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
text_editor.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_region_editor_plugin.cpp Cleanup unnecessary code from before the scrollbar overlapping fixes 2020-01-14 18:19:12 -03:00
texture_region_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
theme_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
theme_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tile_map_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tile_map_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tile_set_editor_plugin.cpp Fix TileSet editor's workspace size sometimes not changing correctly on region change 2020-01-10 00:57:49 -03:00
tile_set_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
version_control_editor_plugin.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
version_control_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_shader_editor_plugin.cpp Fixes min size of various editor plugins on HiDPI 2020-01-12 15:24:15 +08:00
visual_shader_editor_plugin.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00