Commit Graph

77006 Commits

Author SHA1 Message Date
Rémi Verschelde af55caff36 Merge pull request #93723 from KoBeWi/bandaid.tscn
Speed up scene group scanning for text scenes
2024-07-04 17:12:06 +02:00
Kasper Frandsen 7c6f32ddbf Clamp bezier handle length to half the length of animation 2024-07-04 13:41:12 +01:00
Victor Kostin 3afc7774de Fix custom resources often missing from Quick Load dialog 2024-07-04 14:25:00 +02:00
Fredia Huya-Kouadio 6b6428d779 Fix ANRs reported by the Google Play Console
- Add support for dispatching input on the render thread (UI thread is the current default) when `input_buffering` and `accumulated_input` are disabled. At the expense of latency, this helps prevent 'heavy' applications / games from blocking the UI thread (the default behavior)  which may cause the application to ANR.

- Remove GLSurfaceView logic causing the UI thread to wait on the GL thread during lifecycle events. The removed logic would cause the UI thread to ANR when the GL thread is blocked.
2024-07-04 05:18:50 -07:00
kobewi 681769e2c9 Fix undoredo handling in some dialogs 2024-07-04 14:17:47 +02:00
Fredia Huya-Kouadio c6a23a7a7d Fix crashes reported by the Google Play Console 2024-07-04 02:46:11 -07:00
GuoShuangyi af62d15ebc fix depth_prepass_alpha not work in compatibility mode 2024-07-04 17:38:14 +08:00
Rémi Verschelde e6448ca0aa Merge pull request #93891 from m4gr3d/fix_logo_not_showing_for_gles3
[Android] Fix the issue causing the logo to not show when using the `compatibility` renderer
2024-07-04 11:32:13 +02:00
Rémi Verschelde 447cbdee9a Merge pull request #93890 from hakro/nodeprop-vs-nodepath
Add `:` to node properties, to differentiate them from node paths
2024-07-04 11:32:10 +02:00
Rémi Verschelde 640d8151ff Merge pull request #93876 from JacobMillner/fix-blend-times-sorting
Fix AnimationPlayer `blend_times` sorting
2024-07-04 11:32:07 +02:00
Rémi Verschelde 0c6aa7aeef Merge pull request #93872 from MikhailY0U/patch-1
Clarify that the `Mesh.ARRAY_NORMAL` array will normalize its contents internally
2024-07-04 11:32:04 +02:00
Rémi Verschelde de28ac2810 Merge pull request #93868 from timothyqiu/node-dock-theme-update
Update Node dock when theme changes
2024-07-04 11:32:01 +02:00
Rémi Verschelde 01c24ff862 Merge pull request #93750 from adamscott/add-bigint-support-on-js-value-conversion
Add `bigint` support on JS value conversion
2024-07-04 11:31:58 +02:00
Rémi Verschelde bf8be34e91 Merge pull request #93708 from bruvzg/fix_btn_ms
[Button] Use `align_to_largest_stylebox` for min. size calculation.
2024-07-04 11:31:56 +02:00
Rémi Verschelde 643da5dfad Merge pull request #93331 from dsnopek/macos-fix-use-volk
Fix building with `use_volk=yes` on MacOS
2024-07-04 11:31:51 +02:00
Mikhail Volodin 6e9de82110 Clarify that the Mesh.ARRAY_NORMAL array will normalize its contents internally 2024-07-04 10:55:43 +02:00
Rémi Verschelde 496b7b8482 Core: Improve vformat error reporting on sprintf failure
And fix a few occurrences of formatting errors that led me to this.
2024-07-04 10:54:55 +02:00
Danil Alexeev 3f52871f70 GDScript: Add warning if non-@tool class extends @tool class 2024-07-04 10:31:01 +03:00
Arseny Kapoulkine 4e9e35b58a Fix AABB computation for position compression to not depend on vertex order
The previous computation was dependent on the vertex order in two ways:

- If the first vertex was on the AABB boundary, the AABB would be
  increased by the epsilon due to size clamping
- Every time the AABB would get expanded, we would recompute end from
  size and reconstruct size again, which resulted in slow floating point
  drift.

In isolation this may not seem like it matters, but it means that the
same mesh with a different vertex order may result in a slightly different
AABB. This can be a significant issue due to shadow meshes and their use in
depth prepass: shadow meshes reorder vertex data as part of the
deduplication process, as they append one unique position at a time and
as such remove the duplicate positions; this can result in a different
AABB which would result in a different reconstructed vertex position
during a depth pre-pass, causing mesh self-occlusion.
2024-07-03 23:53:24 -07:00
bruvzg 41df3caad3 [Button] Use align_to_largest_stylebox for min. size calculation. 2024-07-04 09:40:55 +03:00
Hilderin d04b5d2629 Fix adding a translation CSV results in errors on initial import for many types of resources 2024-07-03 22:56:45 -04:00
Togira ab13513403 Fix RandomPCG::rand_weighted incorrectly returning -1 2024-07-04 02:00:59 +02:00
rune-scape c8b697c64c Remove unused initialize_ref 2024-07-03 13:32:50 -07:00
Fredia Huya-Kouadio 637f4a10ed Fix the issue causing the logo to not show when using the compatibility renderer 2024-07-03 11:16:45 -07:00
Kristopher A fd2e13d9b1 Remove duplicate styling from editor
The \#status-notice styling had a duplicate visibility styling.
2024-07-03 12:32:03 -04:00
Hakim 54d6c9e83b Add : to node properties, to differentiate them from node paths 2024-07-03 17:07:49 +02:00
Jacob Millner 825cb3e6c5 fix the sorting of blend_times in animation player
Modify BlendKey's sort to use  AlphaCompare in order to create a deterministic sort

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-03 10:01:32 -04:00
Allen Pestaluky 262e5db785 Revert "Allow skipping imported resource files from export"
This reverts commit 398892ccc0.
2024-07-03 09:54:03 -04:00
Adam Scott ee2759013b Add bigint support on JS value conversion 2024-07-03 07:44:32 -04:00
Rémi Verschelde 6a13fdcae3 Merge pull request #93846 from jsjtxietian/null-frames
Fix sprite frame editor crash with null `frames` pointer
2024-07-03 08:50:29 +02:00
Rémi Verschelde 8f749ca3ef Merge pull request #93820 from allenwp/EditorExportPlugin-docs-update
Update documentation for new `EditorExportPlugin` behavior.
2024-07-03 08:50:22 +02:00
Danil Alexeev 68481b6cdb Core: Fix Freed Object booleanization 2024-07-03 09:49:47 +03:00
jsjtxietian 7cecdc0dab Fix sprite frame editor crash with null frames pounter 2024-07-03 10:58:25 +08:00
kobewi 6aebc91298 Flush delete queue after process frame timers 2024-07-02 20:34:51 +02:00
Zi Ye 72a01816a4 Make viewport grid visible on all three planes in ortho camera view 2024-07-02 13:07:31 -05:00
Hugo Locurcio 3eb8b0ac8c Add Markdown syntax highlighting to the script editor 2024-07-02 20:06:33 +02:00
Arseny Kapoulkine a13a64eacd Disable normal raycaster for LOD generation by default
Normal raycaster makes LOD generation process >2x slower and often
generates normals that look significantly worse compared to what the
simplifier comes up with by default. This was likely different before
last meshoptimizer upgrade, as the attribute metric was not functioning
properly, but now it looks like it's doing more harm than good.

This change makes it disabled by default but keeps an easy option to
re-enable it per mesh using LOD parameters for now until we get more
confidence and can remove the code outright.

Because the long term plan would be to disable this feature entirely,
the scripting API isn't changed, and it's just off-by-default there with
no way to re-enable.
2024-07-02 10:18:15 -07:00
Matt Enad 9d343ced58 Add customizable 3D navigation settings
This commit adds 3 new editor settings for orbit, pan, and zoom mouse buttons, and 6 new shortcuts which act as modifiers for the navigation controls. These new shortcuts replace the old orbit, pan, and zoom modifier settings.

The `navigation_scheme` setting now acts as a preset which changes the new options added above, and the new settings are what drives 3D navigation instead. A new struct is used for ordering the navigation logic so that actions with fewer shortcuts are checked first. When the editor starts, the preset detection will run to automatically update user settings from old Godot versions. When the setting is changed, the hint values for the mouse buttons are dynamically updated to show the user the corresponding shortcut values.

The new doc fields have been generated and the description for the new settings are filled out. The `navigation_scheme` entry now has more consistent styling and added control descriptions that were missing before.
2024-07-02 12:37:57 -04:00
Haoyu Qiu 7187a82cfe Update Node dock when theme changes 2024-07-03 00:25:21 +08:00
Allen Pestaluky 32f0b252cd Updated documentation for new EditorExportPlugin behaviour.
This behaviour was introduced in #90365. This also fixes some inconsistencies in the docs and adds clarification of how the _export_file function works.
2024-07-02 11:56:16 -04:00
Rémi Verschelde f0d15bbfdf Merge pull request #93853 from Faless/web/no_force_stdlib
[Web] Remove unnecessary `EMCC_FORCE_STDLIBS` in dlink builds
2024-07-02 17:27:35 +02:00
Rémi Verschelde abfce31ba7 Merge pull request #93152 from RandomShaper/prebuilt_asan
Enable usage of asan-enabled versions of prebuilt libraries
2024-07-02 17:27:31 +02:00
Rémi Verschelde 1ebd12ac5f Merge pull request #92616 from rune-scape/rune-invalidate-parser-chain
GDScript: Invalidate cached parser chain when reloading
2024-07-02 17:27:25 +02:00
Yuri Rubinsky 4f657f5c6d Improve code for setup of global_func_set in ShaderLanguage 2024-07-02 18:16:04 +03:00
Fabio Alessandrelli 67c06866de [Web] Remove unnecessary EMCC_FORCE_STDLIBS in dlink builds
As discussed with upstream, the C/C++ standard library is always fully
included when building with MAIN_MODULE=1, so using EMCC_FORCE_STDLIBS
is not necessary in our case.
2024-07-02 16:47:00 +02:00
Haoyu Qiu ee9cea521d Fix parsing of 4. in Expression 2024-07-02 20:53:52 +08:00
emild af26e7b9b7 fix animation bezier editor undo operations applying to wrong animation 2024-07-02 14:21:55 +02:00
Rémi Verschelde 9db1a963be Merge pull request #93855 from ayanchavand/fix-docs-code-anim
Fix AnimationMixer docs example code for `get_root_motion_rotation_accumulator`
2024-07-02 13:57:36 +02:00
Rémi Verschelde 0955020bc4 Merge pull request #93852 from lawnjelly/fti_fix_interpolate_transform2D
Physics Interpolation - Fix `interpolated_transform_2d`
2024-07-02 13:57:33 +02:00
Rémi Verschelde bd5eab9332 Merge pull request #93850 from KoBeWi/the_basic_right_to_erase
Fix RMB erasing of tiles
2024-07-02 13:57:29 +02:00