Commit graph

64005 commits

Author SHA1 Message Date
Haoyu Qiu
d33e79f299 Make performance monitor names translatable 2024-05-14 10:05:32 +08: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
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
ajreckof
114ab9dd04 fix infinite call loop on theme change.
Apply suggestions from code review
2024-05-13 14:39:02 +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
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
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
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
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
patwork
eb488f7321 Fix splash screen background color in HTML shell 2024-05-12 01:02:14 +02:00
Alistair Leslie-Hughes
b973a01216 Editor: Disallow font image rows/columns to be zero or less
Fixes #91812
2024-05-12 07:53:06 +10:00
kobewi
a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
Rémi Verschelde
bdc0316217
Merge pull request #91835 from akien-mga/ci-static-checks-readd-CHANGED_FILES-logic
CI: Re-add `CHANGED_FILES` logic for pre-commit checks
2024-05-11 16:19:36 +02:00
Rémi Verschelde
10471a4c06
Merge pull request #91822 from TokageItLab/inv-offset
Invert start offset on AnimationNode custom timeline
2024-05-11 16:19:31 +02:00
Rémi Verschelde
734f820be4
CI: Re-add CHANGED_FILES logic for pre-commit checks
Fixes #91831.
2024-05-11 15:55:23 +02:00
Rémi Verschelde
916ea002c1
Merge pull request #91821 from ckaiser/fix-browse-icons
Fix FileBrowse and FolderBrowse icon style fill not getting replaced
2024-05-11 12:38:40 +02:00
Rémi Verschelde
1c50f539c3
Merge pull request #91820 from timothyqiu/long-category
Fix long category name display in Inspector
2024-05-11 12:38:36 +02:00
Rémi Verschelde
eacfdc784f
Merge pull request #91817 from Calinou/linuxbsd-default-disable-execinfo
Set `execinfo=no` by default when compiling for Linux/*BSD
2024-05-11 12:38:33 +02:00