1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00
Commit Graph

71817 Commits

Author SHA1 Message Date
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
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
Hugo Locurcio
33e1f570ff Fix GPUParticles Inherit Velocity breaking with physics movement
GPUParticles' Inherit Velocity property used to act strangely
if the physics tick rate was lower than the rendered FPS, as velocity
was tracked in the process and not in the physics process. This
means that on certain rendered frames, the velocity was effectively
0 since there was no movement since the last rendered frame.
2024-07-02 01:46:57 +02: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
Pedro J. Estébanez
207f523441 D3D12: Use the right state for resources in certain heap types 2024-07-01 08:06:26 +02:00
Ainsley Su
819c392ca3 Notify item_rect_changed before resized. 2024-07-01 11:54:07 +08:00
kit
19b2e704ad Clarify word separator docs about shortcuts 2024-06-30 19:35:37 -04:00