1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00
Commit Graph

74341 Commits

Author SHA1 Message Date
Arseny Kapoulkine
6190d412d3 Adjust LOD selection metrics to use attribute error
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Rémi Verschelde
c3ae6aa10b Merge pull request #106454 from KoBeWi/new_cryptic_error_to_your_collection
Fix potential crash when checking unsaved history
2025-05-15 23:38:03 +02:00
kobewi
1d3ade925f Fix crash when checking unsaved history 2025-05-15 22:37:57 +02:00
Thaddeus Crews
b7b3a1a78a Merge pull request #106399 from DarioSamo/fix-canvas-validation-error
Rewrite textureProjLod usage to avoid a Vulkan validation error.
2025-05-15 14:53:26 -05:00
Thaddeus Crews
e717440dbe Merge pull request #106446 from zeux/simp-colors
Use vertex colors (if present) as attributes during simplification
2025-05-15 14:53:25 -05:00
Thaddeus Crews
da9fb81e1f Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
Thaddeus Crews
eb9fcf8b2a Merge pull request #96497 from Repiteo/core/pair
Core: Convert `Pair`/`KeyValue` to `constexpr`
2025-05-15 14:53:23 -05:00
Arseny Kapoulkine
9a8348cc2c Use vertex colors (if present) as attributes during simplification
When importing meshes with vertex colors, we will now supply them to the
simplifier as attributes with weight=1 (in addition to normals). This will
guide the simplification to preserve regions where vertex colors change.

For this change to take full effect, it is also necessary to respect the
full error when selecting LODs; this change does not do that yet, so there
are going to still be cases where vertex colors change abruptly during LOD
switch in a visible manner.
2025-05-15 21:48:12 +03:00
Thaddeus Crews
5538850d87 Core: Convert Pair/KeyValue to constexpr 2025-05-15 10:37:41 -05:00
Thaddeus Crews
5e27318b6c Merge pull request #106366 from jrouwe/fix_106301
Jolt physics: Setting position instead of velocity in `JoltSoftBody3D::set_vertex_position`
2025-05-15 10:22:29 -05:00
Thaddeus Crews
7d46f0f733 Merge pull request #106365 from stuartcarnie/sgc_macos_modifier_state_focus
macOS: Send initial modifier keys as input events
2025-05-15 10:22:28 -05:00
Thaddeus Crews
fdde7c3307 Merge pull request #105208 from hakro/2d-physical-keys
Adjust 2D select/move/rotate/scale shortcuts to match 3D
2025-05-15 10:22:28 -05:00
Thaddeus Crews
82ea0b9293 Merge pull request #106358 from m4gr3d/update_ndk_28
[Android] Add support for 16 KB page sizes, update to NDK r28b
2025-05-15 10:22:27 -05:00
Thaddeus Crews
bd73ab4e03 Merge pull request #105576 from GustJc/fix_tooltip_disappearing
Fix EditorInspector tooltip disappearing in special cases
2025-05-15 10:22:26 -05:00
Thaddeus Crews
97df52c26d Merge pull request #106338 from lalitshankarch/make-buttons-accessible
AudioStreamImport: Make play and stop buttons accessible through keyboard
2025-05-15 10:22:25 -05:00
Thaddeus Crews
b7c4f23203 Merge pull request #105819 from hexog/implicit-package-references
Mark referenced packages in SDK as implicitly defined
2025-05-15 10:22:25 -05:00
Thaddeus Crews
4daa677fcb Merge pull request #106316 from Rudolph-B/depth-buffer-debug
Change Occlusion Culling Buffer debug view to use log scaling
2025-05-15 10:22:24 -05:00
Thaddeus Crews
f3e0005266 Merge pull request #105547 from KoBeWi/default_ok_ok
Improve default OK text in AcceptDialog
2025-05-15 10:22:23 -05:00
Thaddeus Crews
a7a61cc284 Merge pull request #106439 from timothyqiu/import-out-params
Document output parameters of `EditorImportPlugin.import`
2025-05-15 10:22:22 -05:00
Thaddeus Crews
1069cb1df3 Merge pull request #106438 from Ivorforce/ci-run-attempt-2
Make it possible to run CI manually if `DISABLE_GODOT_CI` is set.
2025-05-15 10:22:21 -05:00
Thaddeus Crews
56cc2bb68a Merge pull request #105848 from leandro-benedet-garcia/delete_cache
Delete test cache before running it
2025-05-15 10:22:21 -05:00
Thaddeus Crews
59cd4b823b Merge pull request #106435 from akien-mga/android-readd-generate_apk-alias
Android: Re-add `generate_apk` alias for compatibility
2025-05-15 10:22:20 -05:00
Thaddeus Crews
be33a05a1e Merge pull request #106430 from timothyqiu/tree-new-bee
Cleanup header includes in Tree
2025-05-15 10:22:19 -05:00
Thaddeus Crews
83ba0687f7 Merge pull request #106407 from DarioSamo/present-validation-error
Rework semaphores for presentation to be created per swap chain image to fix validation error.
2025-05-15 10:22:18 -05:00
Thaddeus Crews
6a410e3162 Merge pull request #106404 from dalexeev/gui-rtl-copy-all-if-nothing-selected
GUI: Copy all text in `RichTextLabel` if nothing is selected
2025-05-15 10:22:18 -05:00
Thaddeus Crews
433bb0d6a4 Merge pull request #106403 from Raftatul/import_script
Check if import script is subtype of EditorScenePostImport
2025-05-15 10:22:17 -05:00
Thaddeus Crews
902d2b45bb Merge pull request #106400 from RandomShaper/win_compat
Improve platform compatibility of Windows and Direct3D 12
2025-05-15 10:22:16 -05:00
Thaddeus Crews
e625565853 Merge pull request #106396 from chocola-mint/canvas-item-add-triangle-array-count
Implement the `count` parameter in `RenderingServer.canvas_item_add_triangle_array`
2025-05-15 10:22:16 -05:00
Thaddeus Crews
8134f3fe4b Merge pull request #106394 from vmedea/2025-libdecor
Wayland: Unbreak build with `libdecor=no`
2025-05-15 10:22:15 -05:00
Thaddeus Crews
e066c6417d Merge pull request #106380 from DanielKinsman/fix_libjpegturbo_bug
Fix libjpeg-turbo not working on 32-bit builds
2025-05-15 10:22:14 -05:00
Dario
499fff51fb Rewrite textureProjLod usage to avoid a Vulkan validation error. 2025-05-15 11:35:34 -03:00
Haoyu Qiu
c31746fdcf Document output parameters of EditorImportPlugin.import 2025-05-15 19:46:15 +08:00
Lukas Tenbrink
e0f8943d1e Make it possible to run CI manually if DISABLE_GODOT_CI is set. 2025-05-15 13:45:22 +02:00
Rémi Verschelde
8851c5a54d Android: Re-add generate_apk alias for compatibility 2025-05-15 12:42:29 +02:00
Pedro J. Estébanez
820380817a Exclude RD creation test functions from templates 2025-05-15 10:12:38 +02:00
Pedro J. Estébanez
53bee4eb56 Windows: Restrict time API use to the desktop flavor 2025-05-15 10:12:16 +02:00
Stuart Carnie
9a631d1e45 macOS: Send initial modifier keys as input events
This ensures if a user is holding SHIFT or OPTION to perform a modified
action, it is correctly handled by the application.

Examples include SHIFT+Click to add to the selection.
2025-05-15 16:58:49 +10:00
Haoyu Qiu
88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
Daniel Kinsman
2a89ec5ccd Fix libjpeg-turbo not working on 32-bit builds 2025-05-15 09:20:35 +10:00
kobewi
076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Dario
ad22f65489 Rework semaphores for presentation to be created per swap chain image to fix validation error. 2025-05-14 15:27:51 -03:00
Danil Alexeev
decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
Raphaël Daubelcour
9511e1137d Check if import_script is subtype of EditorScenePostImport 2025-05-14 12:07:17 -04:00
Pedro J. Estébanez
7759296594 Direct3D 12: Let platforms report support for direct composition 2025-05-14 17:48:19 +02:00
Thaddeus Crews
428a762e98 Merge pull request #106367 from stuartcarnie/sgc_fix_embedded_crash
macOS: Fix a crash if no input event is set for a specific window
2025-05-14 09:44:17 -05:00
Thaddeus Crews
8b4dd7a34e Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
Thaddeus Crews
3d645bdd13 Merge pull request #106392 from bruvzg/wine_sh_secure
[Wine] Use `_SH_DENY*` flags instead of unsupported `_SH_SECURE`.
2025-05-14 09:44:15 -05:00
Thaddeus Crews
43010e8839 Merge pull request #106357 from YYF233333/remove_search_array
Move bisect functionality to `Span` and deduplicate code
2025-05-14 09:44:14 -05:00
Thaddeus Crews
926cadb093 Merge pull request #106257 from lodetrick/tab-control-fixes
Fix TabBar Hidden Tabs Handling
2025-05-14 09:44:13 -05:00
Thaddeus Crews
d043be6031 Merge pull request #105585 from marcosc90/fix-web-update-size
[Web] Prevent unnecessary canvas resizes by flooring scaled dimensions
2025-05-14 09:44:13 -05:00