godot/scene
Markus Sauermann 6743ac34d3 Simplify Viewport::_set_size
`Viewport.to_screen_rect` is used only in a single location to compare it
to `Rect2i()`.

When called from `SubViewport`, `to_screen_rect` is always equal to `Rect2i()`.
When called from `Window`, `to_screen_rect` is always different from `Rect2i()`.

So the comparison `to_screen_rect != Rect2i()` can be replaced by
`Object::cast_to<Window>(this)`.

This allows the removal of `Viewport.to_screen_rect` and the simplification of
`Viewport::_set_size`.
2023-02-02 19:09:14 +01:00
..
2d Fix Camera2D crashes 2023-02-01 23:49:02 +01:00
3d More codespell fixes, do more changes from previous ignore list 2023-02-01 12:11:36 +01:00
animation Merge pull request #72509 from TokageItLab/seekcon 2023-02-02 16:27:19 +01:00
audio Implement blending audio feature to AnimationTree 2023-01-28 20:08:29 +09:00
debugger
gui Merge pull request #72471 from mbrlabs/blink 2023-02-02 09:35:16 +01:00
main Simplify Viewport::_set_size 2023-02-02 19:09:14 +01:00
resources More codespell fixes, do more changes from previous ignore list 2023-02-01 12:11:36 +01:00
theme
property_utils.cpp
property_utils.h
register_scene_types.cpp Updates VideoDecoder plugin API to GDExtension. 2023-01-30 18:39:29 -08:00
register_scene_types.h
scene_string_names.cpp
scene_string_names.h
SCsub