Commit graph

64174 commits

Author SHA1 Message Date
Pepito468
73479cb56e
Fixed a typo in the docs
Fixed a typo in GridMap.xml where a 'See also' suggestion link to the wrong method.
2024-05-13 21:19:54 +02:00
Gaktan
7b740124f0 Fixed decimal and hex ranges not working with image fonts 2024-05-13 21:18:13 +02:00
Rémi Verschelde
557f63d037
Bump version to 4.3-beta
The feature freeze for 4.3 is now active.

From here on we'll focus only on fixing bugs to stabilize the development
branch and release 4.3-stable within a few weeks.
2024-05-13 17:37:07 +02:00
Rémi Verschelde
5372d0e6c9
Merge pull request #91908 from akien-mga/revert-90860
Revert "GDScript: Implement `get_dependencies()`"
2024-05-13 17:32:25 +02:00
Rémi Verschelde
c1166c5955
Merge pull request #91880 from AThousandShips/curve_tests
[Tests] Expand tests for `Curve2D/3D`
2024-05-13 17:32:22 +02:00
Rémi Verschelde
10cd6ad93a
Merge pull request #91856 from patwork/double-quotes-in-head
[Web] Fix quotes style in HTML shell head include
2024-05-13 17:32:18 +02:00
Rémi Verschelde
13a6df24fc
Merge pull request #91852 from patwork/fix-splash-bg-color
[Web] Fix splash screen background color in HTML shell
2024-05-13 17:32:14 +02:00
Rémi Verschelde
5cb9a748d6
Merge pull request #91630 from RandomShaper/enh_mat_sh_update
Let materials' shaders update happen on loader threads
2024-05-13 17:32:11 +02:00
Rémi Verschelde
194c940e72
Merge pull request #91497 from magian1127/4.0fixShaderHighlighting
Fix shader highlighting the interruption in `color_region` caused by `disabled_branch_regions`.
2024-05-13 17:32:02 +02:00
Rémi Verschelde
0a67ee52d1
Revert "GDScript: Implement get_dependencies()"
This reverts commit dc73440f89.

This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.

So reverting for now to give ourselves time to iron this out for a future
Godot release.

Fixes #91726.
2024-05-13 16:59:43 +02:00
Danil Alexeev
76b2d85c9f
GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
Rémi Verschelde
de196227e1
Merge pull request #91716 from dalexeev/editor-fix-help-bit-tooltip-and-progress-dialog-crash
Editor: Fix `EditorHelpBitTooltip` + `ProgressDialog` causes crash
2024-05-13 15:47:34 +02:00
Rémi Verschelde
4fe9764ba9
Merge pull request #91595 from ajreckof/fix-infinite-call-loop-on-theme-change
Fix infinite call loop on theme change.
2024-05-13 15:47:30 +02:00
Rémi Verschelde
45ee0fd5b4
Merge pull request #84523 from xiongyaohua/canvasitem_antialiased_for_filled
CanvasItem draw implement antialiasing for `circle`, `rect`, `multiline`, and `dashedline`
2024-05-13 15:47:24 +02:00
Dario
d5789e09eb Add optional driver workaround to RenderingDevice for Adreno 6XX.
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-05-13 10:20:31 -03:00
ajreckof
114ab9dd04 fix infinite call loop on theme change.
Apply suggestions from code review
2024-05-13 14:39:02 +02:00
Gilles Roudière
b0cd6edceb Fix TileMap selection pattern being needlessly reorganized 2024-05-13 14:34:33 +02:00
Yaohua Xiong
ed3d311687 Add antialias support for CanvasItem draw primitives
including
- rect, circle; both filled and unfilled.
- polyline, multiline
2024-05-13 19:03:31 +08:00
Rémi Verschelde
831ebda806
thorvg: Disable webp loader if corresponding module is disabled
Fixes #91873.
2024-05-13 13:01:34 +02:00
Rémi Verschelde
c6f1f614bb
Merge pull request #91900 from AThousandShips/display_server_fix
Fix `DisplayServer` overrides
2024-05-13 12:55:56 +02:00
Rémi Verschelde
bcaaf2b5c5
Merge pull request #91899 from AThousandShips/script_name_fix
Fix outdated name for `script` `StringName`
2024-05-13 12:55:53 +02:00
A Thousand Ships
7331187090
Fix DisplayServer overrides 2024-05-13 12:40:40 +02:00
A Thousand Ships
2f442ff21a
Fix outdated name for script StringName 2024-05-13 12:39:41 +02:00
Rémi Verschelde
d48be8c5ef
Merge pull request #91895 from m4gr3d/switch_to_window_insets_animation_compat
Switch to the WindowInsetsAnimationCompat api
2024-05-13 12:06:03 +02:00
Rémi Verschelde
3585c2e8f9
Merge pull request #91870 from scgm0/fix_disabled_classes
SCons: Fix generation of `disabled_classes.gen.h` after #91624
2024-05-13 12:05:59 +02:00
Rémi Verschelde
c5395d3ce2
Merge pull request #91866 from programneer/dont-splash-my-editor
Don't define `NO_EDITOR_SPLASH` in export templates
2024-05-13 12:05:56 +02:00
Rémi Verschelde
9cfbd6d75f
Merge pull request #91859 from aaronp64/scene_tabs_resized
Move "Add a new scene" button when Scene Tabs settings change
2024-05-13 12:05:53 +02:00
Rémi Verschelde
ad4e9d25c2
Merge pull request #91829 from alesliehughes/editor_font_image
Editor: Ensure font image rows/columns are positive
2024-05-13 12:05:50 +02:00
Rémi Verschelde
c322a9b7ee
Merge pull request #91808 from DarioSamo/debug_mv_msaa
Do not use MSAA versions of textures on debug views.
2024-05-13 12:05:46 +02:00
Rémi Verschelde
ba0dcf70f1
Merge pull request #91783 from ogapo/pr/gltf-export-fixes
GLTF export improvements
2024-05-13 12:05:42 +02:00
Rémi Verschelde
0ebba3023e
Merge pull request #91435 from ajreckof/Fix-selecting-root-when-opening-scene-
Fix selecting root when opening scene.
2024-05-13 12:05:39 +02:00
Rémi Verschelde
3bb7fd8ac4
Merge pull request #91329 from warriormaster12/dont-do-things-twice
Fix a performance regression when duplicating a node
2024-05-13 12:05:34 +02:00
Rémi Verschelde
32317f2607
Merge pull request #90549 from Calinou/displayserver-headless-suppress-warnings
Don't print warning messages for DisplayServer functions in headless mode
2024-05-13 12:05:30 +02:00
Rémi Verschelde
dcd6db8680
Merge pull request #90534 from Geometror/vs-reroute-node
[VisualShader] Add reroute node and improve port drawing
2024-05-13 12:05:25 +02:00
Rémi Verschelde
ba533f5375
Merge pull request #81303 from KoBeWi/the_forbidden_name_of_strings
Add shorthand for using singleton string names
2024-05-13 12:05:17 +02:00
Pedro J. Estébanez
b70afac286 Add an identity check to resource unregistration from cache
This is needed because resources loaded with CACHE_MODE_IGNORE still have path_cache set.
2024-05-13 11:55:50 +02:00
scgm0
973d3a472d
SCons: Fix generation of disabled_classes.gen.h after #91624 2024-05-13 11:25:29 +02:00
Rémi Verschelde
4219af202d
Merge pull request #91792 from akien-mga/scons-preserve-env-values-when-updating-variables
SCons: Preserve `Environment` values when updating `Variables`
2024-05-13 10:16:47 +02:00
Fredia Huya-Kouadio
ab4fbbcaa7 Switch to the WindowInsetsAnimationCompat api
Replace the use of WindowInsetsAnimation with WindowInsetsAnimationCompat; the former was only introdcued in api 30 and caused a crash on older versions of Android.

Fixes https://github.com/godotengine/godot/issues/91773
2024-05-13 00:59:03 -07:00
Hendrik Brucker
62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Bastiaan Olij
6efaaecde2 Skip rendering sky if viewport is set to transparent background 2024-05-13 11:04:06 +10:00
Peter Procyk
82c2a74646 Use Option+Cmd+Left/Right for script editor history navigation on macOS 2024-05-12 19:55:27 -04:00
ajreckof
0ab5d37049 Fix selecting root when opening scene. 2024-05-12 21:46:21 +02:00
warriormaster12
f14455fd3d Fix a performance regression when duplicating a node 2024-05-12 21:43:22 +03:00
A Thousand Ships
71c99293ed
[Tests] Expand tests for Curve2D/3D 2024-05-12 18:13:39 +02:00
aaronp64
3b30c65880 Allow editing NavigationObstacle2D shape
Add _get_polygon and _set_polygon overrides for NavigationObstacle2DEditor, so AbstractPolygon2DEditor can access the vertex information.

Fixes #91795
2024-05-12 08:40:43 -04:00
Programneer
efaba30116 Don't define NO_EDITOR_SPLASH in export templates 2024-05-12 13:12:56 +02:00
David Nikdel
522f035cb1 GLTF export improvements
- GLBs produced by godot don't pass validation when there's no data in the buffer segment. The segment is dropped but the size of the chunk_header is still reported in total length (incorrectly)

- Remove empty "extensions" JSON object being appended to all nodes (if it's still empty). This is just cutting down on unnecessary bloat and consistent with the rest of the file's attempts to not emit any keys that are equal to their default value.

- Allow the case where root_nodes is empty. This is permitted by the GLTF spec. Moreover it can happen fairly naturally when using the ROOT_NODE_MODE_MULTI_ROOT root node mode on a scene with only a root node (which is valid in godot).

- Don't create an initial buffer until we're ready to write data into it (buffers of byteLength=0 don't pass validation).
2024-05-11 21:42:05 -04:00
aaronp64
245be6f9c1 Move "Add a new scene" button when Scene Tabs settings change
Updating "Display Close Button" setting (interface/scene_tabs/display_close_button) in Editor Settings changes the size of scene tabs, but the add button at the end of the tabs was not being moved until the next update, causing gaps/overlaps between the controls.  Adding call to _scene_tabs_resized() after getting the new settings to update the add button position.

Fixes #91850
2024-05-11 20:13:29 -04:00
patwork
b6536884cc Fix quotes style in HTML shell head include 2024-05-12 01:37:13 +02:00