Commit graph

65154 commits

Author SHA1 Message Date
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
Rémi Verschelde
cae2f853dc
Merge pull request #93661 from passivestar/overview-label
Center the label in overview of script editor
2024-06-27 17:08:26 +02:00
Rémi Verschelde
3f4bcfeef1
Merge pull request #93607 from kitbdev/fix-text-edit-move-lines
CodeEdit: Fix move lines up/down viewport and selection issues
2024-06-27 17:08:23 +02:00
Rémi Verschelde
f662e07147
Merge pull request #92504 from ckaiser/audiostreamplayer-light-mode
Fix AudioStreamPlayer icons, improve audio resource picker styling
2024-06-27 17:08:16 +02:00
Christian Kaiser
04f6435aa8 Fix AudioStreamPlayer icons, improve audio resource picker styling 2024-06-27 10:58:56 -03:00
passivestar
1a1d8a58ca Center the label in overview of script editor 2024-06-27 16:01:35 +04:00
Rémi Verschelde
7907ef835d
Merge pull request #93649 from ze2j/remove_useless_instantiation
Remove useless instantiation in `RDShaderFile::parse_versions_from_text`
2024-06-27 10:06:08 +02:00
Rémi Verschelde
7a4cdd904a
Merge pull request #93646 from dsnopek/webxr-environment-blend-mode
Fix support for environment blend modes on `WebXRInterface`
2024-06-27 10:06:05 +02:00
Rémi Verschelde
e018b17f97
Merge pull request #93639 from passivestar/rotation-gizmo
Improve viewport rotation gizmo drawing
2024-06-27 10:06:02 +02:00
Rémi Verschelde
48973aa0d1
Merge pull request #93553 from m4gr3d/update_github_android_build_config
CI: Add editor target to Android builds config
2024-06-27 10:05:59 +02:00
Rémi Verschelde
35016d2184
Merge pull request #93533 from jsjtxietian/import-dock
Update import dock when selecting resource in resource panel
2024-06-27 10:05:56 +02:00
Rémi Verschelde
51a6bc1f11
Merge pull request #91920 from dmipeck/fix-hashing-context-example
Fix hashing context example
2024-06-27 10:05:50 +02:00
ze2j
37479cfad5 Remove useless instantiation in RDShaderFile::parse_versions_from_text 2024-06-27 08:57:06 +02:00
David Snopek
2f001e6789 Fix support for environment blend modes on WebXRInterface 2024-06-26 22:02:20 -05:00
Fredia Huya-Kouadio
8026706748 Update the github Android builds config
The configuration was updated to generate:
- Godot Android Editor build
- Godot Android template build for arm32
- Godot Android template build for arm64

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-06-26 12:44:15 -07:00
passivestar
a9ef6cd418 Improve viewport rotation gizmo drawing 2024-06-26 23:33:24 +04:00
Rémi Verschelde
374807f427
Merge pull request #93633 from dsnopek/webxr-hand-tracking-api-docs
Improve WebXR API docs related to hand tracking support
2024-06-26 18:15:31 +02:00
Rémi Verschelde
d119e49902
Merge pull request #93627 from passivestar/inspector-unused-vboxes
Hide unused category vboxes in inspector
2024-06-26 18:15:24 +02:00
Rémi Verschelde
6cdd303c68
Merge pull request #93564 from Calinou/project-user-dir-prevent-trailing-periods
Prevent folder names with trailing periods from being used automatically
2024-06-26 18:15:19 +02:00
Rémi Verschelde
0364443d12
Merge pull request #93346 from RandomShaper/gds_cyc_alt
GDScript: Enhance handling of cyclic dependencies
2024-06-26 18:15:16 +02:00
Rémi Verschelde
3d8562d775
Merge pull request #89197 from AThousandShips/arr_typed_fix
[Core] Fix sharing of typed arrays from constructor
2024-06-26 18:15:09 +02:00
Pedro J. Estébanez
c1391489e3 GDScript: Enhance handling of cyclic dependencies 2024-06-26 17:44:32 +02:00
Hugo Locurcio
492787b134
Prevent folder names with trailing periods from being used automatically
Folder names ending with one or more `.` characters are not allowed
on Windows, so this would break writing logs, shader cache and other
project-specific files. Trailing periods are now stripped in this case.

On non-Windows platforms, this change still applies in the interest
of portability.
2024-06-26 17:42:47 +02:00
David Snopek
ef3fbf0091 Improve WebXR API docs related to hand tracking support 2024-06-26 08:52:10 -05:00
Rémi Verschelde
93fc9b8857
Merge pull request #93566 from Chaosus/gds_fix_enum_lookup
Fix symbol lookup for native enums
2024-06-26 15:19:31 +02:00
Rémi Verschelde
df78d0dd41
Merge pull request #92163 from adamscott/fix-new-web-export-bug
Fix web export state for Remote Debug
2024-06-26 15:19:25 +02:00
Rémi Verschelde
ba3bb44194
Merge pull request #93617 from jsjtxietian/protect-enum
Add safety check when setting several rendering effect quality
2024-06-26 14:51:25 +02:00
Rémi Verschelde
cafe7042b1
Merge pull request #93548 from Robocraft999/patch-1
Fix `AnimatedSprite2D/3D::play` using wrong end_frame
2024-06-26 14:51:22 +02:00
Rémi Verschelde
36a5960ab2
Merge pull request #87131 from KoBeWi/skyscrapper_selector_simulator
Properly change GridMap floors while selecting
2024-06-26 14:51:19 +02:00
Rémi Verschelde
783c99d5e1
Merge pull request #86467 from KoBeWi/aliens_in_my_inspector
Always call `_can_handle()` before `_parse_property()`
2024-06-26 14:51:14 +02:00
Rémi Verschelde
54dbb17273
Merge pull request #85513 from KoBeWi/that_one_weird_plugin_that_uses_no_Resources
Save external data even without scene
2024-06-26 14:51:11 +02:00
Rémi Verschelde
b0c7f45a72
Merge pull request #85228 from KoBeWi/don't_save_scene_when_saving_script_while_saving_scene
Don't insert newline while saving
2024-06-26 14:51:06 +02:00
Rémi Verschelde
869e33252d
Merge pull request #84164 from KoBeWi/slowcast_2d
Fix slow raycast editing
2024-06-26 14:51:03 +02:00
Rémi Verschelde
35683dea86
Merge pull request #79796 from KoBeWi/hack_and_slash
Add a way to force history for undoredo
2024-06-26 14:50:54 +02:00
Adam Scott
1e8e9f4b09
Fix web export state for remote debug 2024-06-26 08:37:56 -04:00
passivestar
025159f57e Hide unused category vboxes in inspector 2024-06-26 16:02:22 +04:00
Robocraft999
dc6e664fda Fix AnimationSprite2D/3D::play using wrong end_frame
On playing a different animation to the current backwards will start the new animation on the last animations last frame not the new ones
2024-06-26 13:50:44 +02:00
kobewi
57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
kobewi
b70368b78a Don't insert newline while saving 2024-06-26 13:19:25 +02:00
kobewi
f0da5cac7b Always call _can_handle() before _parse_property() 2024-06-26 13:10:08 +02:00
Rémi Verschelde
95110ddcb4
Merge pull request #93614 from Malcolmnixon/webxr-hand-tracking-palm-rotation
Fix WebXR palm joint calculation to include rotation
2024-06-26 11:08:50 +02:00
Rémi Verschelde
14d6be4c0f
Merge pull request #93595 from ueshita/fix_trails_using_userdata
Fix USERDATA not copied when trails started
2024-06-26 11:08:47 +02:00
Rémi Verschelde
2043a01c23
Merge pull request #93593 from dsnopek/webxr-closure-compiler-fix
[WebXR] Fix closure compiler mangling `XRSession.enabledFeatures`
2024-06-26 11:08:44 +02:00
Rémi Verschelde
97e4ed4348
Merge pull request #93575 from Hilderin/fix-editor-crash-on-invalid-global-class-path
Fix editor crash when invalid global class script path
2024-06-26 11:08:41 +02:00
Rémi Verschelde
2161f98ac1
Merge pull request #93556 from Faless/web/fix_threads_features
[Web] Add "threads"/"nothreads" feature tags to export presets
2024-06-26 11:08:39 +02:00
Rémi Verschelde
1f94de2612
Merge pull request #93504 from TokageItLab/fix-physical-bone-raycast
Rework migration of `animate_physical_bones` for compatibility
2024-06-26 11:08:35 +02:00
Rémi Verschelde
5ca01c4847
Merge pull request #93490 from bruvzg/vp_subw_os
Fix subwindow titlebar redraw on oversampling change.
2024-06-26 11:08:24 +02:00
Rémi Verschelde
2d22dfab4a
Merge pull request #91337 from KoBeWi/unhack_addons
Rework global class hiding in addons
2024-06-26 11:08:21 +02:00
Rémi Verschelde
2cd46de180
Merge pull request #90485 from ibrahn/midi-driver-rework
Move MIDI parsing up from ALSA driver to platform independent driver.
2024-06-26 11:08:15 +02:00
jsjtxietian
a313fa13fd Add safety check when setting several rendering effect quality 2024-06-26 17:06:21 +08:00