Commit Graph

7603 Commits

Author SHA1 Message Date
Rémi Verschelde 89788cdcc2
Merge pull request #70514 from stmSi/fix-editor-hanging-audio-pitch-scale-nan
[3.x] Fix hanging if audiostream's pitch_scale is NaN
2023-02-17 12:15:27 +01:00
Rémi Verschelde b53302891a
Merge pull request #73206 from akien-mga/3.x-rtl-custom_effects-fix-hint
RichTextLabel: Fix hint string for custom_effects property
2023-02-13 13:08:36 +01:00
Rémi Verschelde 48217503c5
Merge pull request #68576 from Maran23/rich-text-label-bbcode-color-tag-fix
[3.x] Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
2023-02-13 13:08:13 +01:00
Rémi Verschelde 32b3ef7727
RichTextLabel: Fix hint string for custom_effects property
Fixes #73190.
2023-02-13 09:26:32 +01:00
Brian Semrau 70316aab91 Fix Line2D UVs when using BOX end cap mode 2023-02-10 20:45:31 -05:00
Rémi Verschelde 44656e8328
Merge pull request #72386 from smix8/navigation_config_warnings_3.x
Fix navigation related nodes not propagating parent class config warnings
2023-02-01 13:06:06 +01:00
Rémi Verschelde fb846d3522
Merge pull request #71425 from Calinou/spinbox-add-independent-arrow-step-3.x
Add independent spinbox arrow step precision
2023-02-01 13:05:43 +01:00
Fredia Huya-Kouadio aed400cce2
Merge pull request #71654 from m4gr3d/increase_scroll_bar_size_for_touchscreen_3x
[3.x] Update the size of the scrollbar for the editor on touchscreen devices
2023-01-31 21:52:03 -08:00
smix8 b5213cceac Fix navigation related nodes not propagating parent class config warnings
Fixes that navigation related nodes do not propagate config warnings from their parent classes.
2023-01-30 16:26:42 +01:00
lawnjelly 5a0cb54b3a Improve error messages and classref for occluders and portals
Misused functions would previously produce no error messages which was confusing for users.
2023-01-24 14:05:48 +00:00
Rémi Verschelde 93c76825ce
Merge pull request #64329 from jordo/fix/control-theme-cache
[3.x] Add theme item cache to `Control`
2023-01-23 22:23:33 +01:00
Yuri Sizov 1647f4d85e Add dumb theme item cache to Control
(cherry picked from commit 9f88300007)

Co-authored-by: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
2023-01-23 10:31:17 -06:00
Rémi Verschelde dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
Fredia Huya-Kouadio 8170b7ae1e Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices 2023-01-22 07:09:48 -08:00
EricEzaM 6a5992c9f1 PopupMenu rework and enhancements
Many scrolling behaviour improvements and the ability to limit popup size.
2023-01-21 21:36:26 +00:00
Rémi Verschelde 6088a4802c
Merge pull request #70584 from stmSi/3.x-save-branch-as-scene-not-working-in-remote-without-pausing
[3.x] Fixed: `Save Branch as Scene` not working in Remote Tree without Pausing
2023-01-20 12:12:46 +01:00
Jóhannes Gunnar Þorsteinsson e09d4d255e
Add independent spinbox arrow step precision
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01:00
Haoyu Qiu d16a1c7579 Make CollisionShape selection box use shape AABB 2023-01-13 18:19:26 +08:00
Rémi Verschelde abf5f72073
Merge pull request #70717 from Calinou/particles-tweak-animation-offset-property-hint-3.x
Tweak particles animation offset property hint to allow more precise values (3.x)
2023-01-11 11:57:38 +01:00
Rémi Verschelde 1426cd3b3a
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:26:54 +01:00
Rémi Verschelde 1ee7c5a62c
Merge pull request #62444 from lawnjelly/faster_queue_free3
[3.x] Faster queue free
2023-01-10 10:55:36 +01:00
Rémi Verschelde 9832c9d127
Merge pull request #70593 from OsakiTsukiko/issue-62640
[3.x] Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-09 09:18:10 +01:00
Rémi Verschelde 50fd962869
Merge pull request #70583 from necrashter/fix-set-touch-input-as-handled
[3.x] Set touch input as handled only after _gui_call_input
2023-01-09 09:17:22 +01:00
OsakiTsukiko 0a386084bc
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont 2023-01-09 09:07:48 +01:00
Haoyu Qiu 36a21a43af Fix Tree overflow without scrolling being enabled 2023-01-04 14:16:57 +08:00
Marius Hanl fa304b5130 Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
Each BBCode tag is drawn individually, so we have to add the character spacing manually.
2023-01-03 07:53:19 +01:00
Hugo Locurcio 717cbbd6e7
Tweak particles animation offset property hint to allow more precise values 2022-12-29 22:17:47 +01:00
stmSi 15d6f341a7 [3.x] Fixed: `Save Branch as Scene` not workking in Remote Tree (only work when u pause) 2022-12-26 17:19:33 +06:30
necrashter 147de75e52
Set touch input as handled only after _gui_call_input 2022-12-26 11:58:32 +03:00
stmSi 28e1fc4af9 Fix Editor hanging if audiostream's pitch_scale is NaN 2022-12-24 12:34:22 +06:30
Rémi Verschelde 7a46f61089
Merge pull request #70368 from pfertyk/issue-70187-bit-map-resize-spams-errors
Fix `BitMap.resize` error spam
2022-12-22 08:56:25 +01:00
Rémi Verschelde 3b7bb812fd
Merge pull request #70310 from Sauermann/3x-fix-follow-viewport-transform
[3.x] Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-22 08:55:28 +01:00
Rémi Verschelde 76bcc90da8
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
Add a project setting to make the root viewport transparent (3.x)
2022-12-22 08:55:21 +01:00
kleonc 7b196dd0ee AtlasTexture Fix calculating rects when flipping
(cherry picked from commit c3851b91db)
2022-12-21 09:34:39 +08:00
Paweł Fertyk ddd7189b39 Fix `BitMap.resize` error spam
Fixes #70187.
2022-12-20 21:54:21 +01:00
Markus Sauermann 608cbd8296 Include the follow-viewport-transform into CanvasLayer transform calculations
The follow-viewport-transform was missing from several calculations

3.x version of #59682
2022-12-19 19:18:54 +01:00
Zak f974bcf074 Add `uri` property for LinkButton
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b0)
2022-12-18 10:43:39 +08:00
smix8 17e6d76de6 Fix Navigation agent callback wild pointer crash
Fixes crash in sanitizer builds when callback agent or object are already freed.

(cherry picked from commit 194c1c44e0)
2022-12-18 10:32:04 +08:00
Haoyu Qiu b2e5c8fe10 Fix possible Tween leak on exit
(cherry picked from commit e173710963)
2022-12-18 10:32:04 +08:00
FireForge 0d602ce881 Add Vector2/3 linking to more properties
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- SpatialMaterial.uv1_scale
- SpatialMaterial.uv2_scale

(cherry picked from commit 92817aa72f)
2022-12-18 10:32:04 +08:00
kobewi 9499ebecee Add vector value linking
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8)
2022-12-18 10:32:04 +08:00
Hugo Locurcio 65465f309c
Add a project setting to make the root viewport transparent
This allows creating a project with a transparent window without having
to write any script.
2022-12-18 00:38:05 +01:00
Rémi Verschelde 607940875c
Merge pull request #70111 from Maran23/3.x-check-null-event-in-tree
[3.x] Check for null event in Tree._gui_input to avoid engine crash
2022-12-17 14:28:11 +01:00
Rémi Verschelde 84566b3296
Merge pull request #70089 from Rubonnek/3x-avoid-compiling-editor-checks-in-visibilitynotfier2d
[3.x] Avoid compiling Editor checks in release builds for `VisibilityNotifier2D`
2022-12-17 14:27:21 +01:00
Marius Hanl 09f974b21d Check for null event in Tree._gui_input to avoid engine crash 2022-12-15 17:35:53 +01:00
Wilson E. Alvarez 78b8cf7edb
Avoid compiling Editor checks in release builds for VisibilityNotifier2D 2022-12-15 11:13:10 -05:00
Rémi Verschelde 6963ba631e
Fix typos with codespell 2022-12-15 12:26:59 +01:00
Wilson E. Alvarez 6a8bae4e35
Do not fire VisibilityNotifier screen_entered and screen_exited signals in the Editor 2022-12-13 10:29:28 -05:00
Haoyu Qiu 6f69d29398
Fix crash after executing ItemList.set_icon_scale
(cherry picked from commit 8d0fa193c3)
2022-12-13 14:24:25 +01:00
Rémi Verschelde 5d5f0a3958
Merge pull request #69963 from lawnjelly/variant_parser_optional_readahead_3
VariantParser make readahead optional [3.x]
2022-12-12 19:02:17 +01:00