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
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
jsjtxietian
7cecdc0dab
Fix sprite frame editor crash with null frames
pounter
2024-07-03 10:58:25 +08: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
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
Rémi Verschelde
9c75b6cd84
Merge pull request #93849 from Chaosus/shader_fix_orphan_strings
...
Fix orphan StringName's in ShaderLanguage
2024-07-02 13:57:26 +02:00
Rémi Verschelde
a4a4a525e2
Merge pull request #93492 from CookieBadger/animation-bezier-undo-crash-fix
...
Fix animation Bezier editor crash when using undo after deleting AnimationPlayer
2024-07-02 13:57:23 +02:00
emild
e97428c96b
fix animation bezier crash on undo
2024-07-02 10:02:57 +02:00
ayanchavand
a5384365a4
Fix: AnimationMixer Example Code
2024-07-02 13:02:11 +05:30
lawnjelly
0ed71f3e0c
Physics Interpolation - Fix interpolated_transform_2d
...
Uses the skew correct `Transform2D::interpolate_with()` function rather than the bugged 3.x version.
2024-07-02 08:10:55 +01:00
kobewi
af28d58215
Fix RMB erasing of tiles
2024-07-02 08:45:05 +02:00
Yuri Rubinsky
dc78ef1722
Fix orphan StringName's in ShaderLanguage
2024-07-02 09:27:40 +03:00
Rémi Verschelde
9425535602
Merge pull request #93828 from kleonc/atlas-texture-fix-draw-rect-flipping
...
Fix `AtlasTexture::draw_rect` flipping for non-zero margin
2024-07-01 22:54:27 +02:00
Rémi Verschelde
070dddf9ca
Merge pull request #93818 from ashish0kumar/add/doc/global-lib-info-add_animation_library
...
Fix info about global library in `add_animation_library` method docs
2024-07-01 22:54:25 +02:00
Rémi Verschelde
a18beeede2
Merge pull request #93770 from Trinovantes/patch-1
...
Fix asset pipeline coordinate systems doc url
2024-07-01 22:54:18 +02:00
kleonc
88b29539f7
Fix AtlasTexture::draw_rect flipping for non-zero margin
2024-07-01 21:22:25 +02:00
Ashish Kumar
87b0796e8a
Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml
...
Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml
Fix Info about Global library on add_animation_library method
Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2024-07-01 22:18:44 +05:30
Rémi Verschelde
92c8e87cd9
Merge pull request #93707 from RandomShaper/fix_d3d12_stating
...
D3D12: Use the right state for resources in certain heap types
2024-07-01 18:34:09 +02:00
Rémi Verschelde
8d76f0e81f
Merge pull request #93809 from akien-mga/revert-73896
...
Revert "Make freed object different than null in comparison operators"
2024-07-01 18:28:55 +02:00
Rémi Verschelde
09f4dff2f4
Merge pull request #93804 from AdriaandeJongh/y-sorting-lower-higher-inverted-fix
...
[Doc] Fix inverted Y position description of y-sorting
2024-07-01 18:28:53 +02:00
Rémi Verschelde
6a12548e34
Merge pull request #93754 from adamscott/fix-audio-server-bus-volumedb
...
Fix assignations to non-existing keys and clean-up Web audio library
2024-07-01 18:28:50 +02:00
Rémi Verschelde
13ea24c5bb
Merge pull request #93671 from KoBeWi/burn_the_box
...
Prevent selecting when a CanvasItem is selected
2024-07-01 18:28:47 +02:00
Rémi Verschelde
d4fdf16353
Merge pull request #92806 from mihe/headless-input
...
Add input event callback to `DisplayServerHeadless`
2024-07-01 18:28:41 +02:00
HolonProduction
70488d40db
Autocompletion: Don't use in
operator to decide over variant lookup
2024-07-01 15:57:03 +02:00
Rémi Verschelde
152d7c1bba
Revert "Make freed object different than null in comparison operators"
...
This reverts commit 150b50cfcd
.
As discussed with the GDScript team, this has some implications which aren't
fully consensual yet, and which we want to revisit.
For now we revert to the 4.2 behavior for the 4.3 release, to avoid breaking
user expectations.
2024-07-01 14:11:43 +02:00
Adriaan de Jongh
a917246d5b
fixed the y-sorting description having higher and lower inverted (oops!)
2024-07-01 11:11:30 +02:00
Stephen Li
d787a84b11
Fix asset pipeline coordinate systems doc url
2024-07-01 10:17:47 +02:00
Rémi Verschelde
446e7a7c22
Merge pull request #93793 from Chaosus/shader_fix_bool_op_crash
...
Prevent shader crash when doing invalid operation on boolean vector
2024-07-01 10:07:43 +02:00
Rémi Verschelde
e78c4be511
Merge pull request #93789 from passivestar/distraction-free-mac-shortcut
...
[macOS] Change the distraction-free mode shortcut
2024-07-01 10:07:40 +02:00
Rémi Verschelde
a05237f5d0
Merge pull request #93785 from TokageItLab/fix-bezier-init
...
Fix Bezier track init value on caching without RESET animation
2024-07-01 10:07:37 +02:00
Rémi Verschelde
af529cb6be
Merge pull request #93777 from ashish0kumar/fix/doc/add_custom_type-icon
...
Fix "icon" parameter in EditorPlugin.add_custom_type is not optional but doc says it is
2024-07-01 10:07:34 +02:00
Rémi Verschelde
2cb0c20194
Merge pull request #93665 from kitbdev/clarify-word-sep-docs
...
Clarify word separator docs about shortcuts
2024-07-01 10:07:27 +02:00