Commit graph

77137 commits

Author SHA1 Message Date
Arseny Kapoulkine
e40436d527 Switch LOD generation to use iterative simplification
Instead of simplifying every LOD from the original down to an
increasing number of triangles, we simplify each LOD from the previous
LOD and stop when the simplification can't proceed further.

This has a few benefits:

- It's significantly faster; using sparse flag helps ensure that
  subsequent simplifications after the first one are increasingly
  cheaper.

- It results in higher quality attributes on generated LODs; attribute
  quadrics reduce the quality of attribute preservation the more they
  are accumulated, so recomputing them from intermediate geometry helps.

- It results in monotonic appearance: if a feature is reduced in a
  higher LOD, it will stay reduced or get reduced more significantly in
  lower LODs. This is not a significant problem right now, but can be
  helpful to ensure if the number of LODs increases or some newer
  features get enabled.
2025-09-23 13:28:45 -07:00
Thaddeus Crews
b7c5fcaf1e
Merge pull request #110815 from AThousandShips/fix_nav_2d
[Navigation 2D] Fix sign of cross product
2025-09-23 14:51:54 -05:00
Thaddeus Crews
0ef1c07838
Merge pull request #110491 from bruvzg/emb_j_init_msg
[macOS] Remove old embedded window joystick init code.
2025-09-23 14:51:53 -05:00
Thaddeus Crews
13dcb1f8b3
Merge pull request #110810 from KoBeWi/mail_(MAin_faIL)
Ignore main scene UID error in editor
2025-09-23 14:51:52 -05:00
Thaddeus Crews
2b79cb613b
Merge pull request #110223 from rburing/physicsserver3d_shape_doc
Document `PhysicsServer3D` shapes
2025-09-23 14:51:51 -05:00
Thaddeus Crews
2569d4088f
Merge pull request #109166 from Calinou/editor-expression-use-fixed-width-font
Use a fixed-width font for the expression evaluator
2025-09-23 14:51:50 -05:00
Thaddeus Crews
8d27c00038
Merge pull request #107692 from timothyqiu/editor-overrides-doc
Show description for editor setting overrides
2025-09-23 14:51:49 -05:00
Thaddeus Crews
329acc038d
Merge pull request #110826 from Ivorforce/reserve-smaller-than-size-verbose
Change "reserve called with a capacity smaller than the current size" error message to a verbose message.
2025-09-23 14:51:48 -05:00
Thaddeus Crews
96d9303b76
Merge pull request #109992 from zeux/simplify-regularize
Use regularization flag for LODs of deformable objects to improve appearance post deformation
2025-09-23 14:51:48 -05:00
Thaddeus Crews
b1b9a42517
Merge pull request #108551 from KoBeWi/paste_as_unique_norecursive
Improve Paste as Unique option
2025-09-23 14:51:47 -05:00
Thaddeus Crews
e6d25c0f73
Merge pull request #110819 from KoBeWi/overrun_with_dupes
Remove overrun code duplication
2025-09-23 14:51:45 -05:00
Thaddeus Crews
44c847c1a5
Merge pull request #108162 from KoBeWi/preview_simplication
Change preview methods to take Callable
2025-09-23 14:51:44 -05:00
Thaddeus Crews
c21e977e66
Merge pull request #107649 from timothyqiu/no-translations-configured
Show "No Translations Configured" message for empty translation preview menu
2025-09-23 14:51:44 -05:00
kobewi
eae9ef2292 Change preview methods to take Callable 2025-09-23 20:13:00 +02:00
Lukas Tenbrink
c6f57c7a55 Change "reserve called with a capacity smaller than the current size" error message to a verbose message. 2025-09-23 20:02:40 +02:00
Thaddeus Crews
aa2c4fe654
Merge pull request #110717 from Shadows-of-Fire/elide-copy-typed-collection
GDScript: Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes
2025-09-23 12:08:53 -05:00
Thaddeus Crews
6010f0f2b0
Merge pull request #110777 from BastiaanOlij/openxr_1_1_52
OpenXR: Update to OpenXR 1.1.52
2025-09-23 12:08:52 -05:00
Thaddeus Crews
c62356fcaa
Merge pull request #85080 from Cykyrios/draw-ellipse
Add methods to draw ellipses
2025-09-23 12:08:51 -05:00
Thaddeus Crews
75f0f3dc55
Merge pull request #110550 from WesleyClements/master
Fix `TileMapLayer` tiles displaying incorrectly with y_sort based on visibility layer
2025-09-23 12:08:50 -05:00
Thaddeus Crews
1f5d8a39cb
Merge pull request #110520 from m4rr5/fix_vrs_modes_list
Fix Viewport VRS Mode property listing unimplemented Depth buffer option
2025-09-23 12:08:49 -05:00
Thaddeus Crews
685c7e92e5
Merge pull request #100437 from KoBeWi/ruaninstancequestionmark
Add `is_instance()` helper method to Node
2025-09-23 12:08:48 -05:00
Thaddeus Crews
4b8cd07408
Merge pull request #110770 from arkology/find-in-files-count
`FindInFiles`: Show the number of matches for each file
2025-09-23 12:08:47 -05:00
Thaddeus Crews
cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
Thaddeus Crews
5a8a3ed8e2
Merge pull request #110703 from dsnopek/xr-tracker-change
Fix XR tracker name changing at runtime
2025-09-23 12:08:45 -05:00
Thaddeus Crews
2cc0f68c56
Merge pull request #110602 from Calinou/editor-sort-scripts-by-tweak-setting-order
Tweak the enum visual order for Sort Scripts By editor setting
2025-09-23 12:08:44 -05:00
Thaddeus Crews
9708b088f9
Merge pull request #110249 from beicause/fix-compositor-effects-init-callback
Fix `CompositorEffect` not setting post-transparent callback on init
2025-09-23 12:08:43 -05:00
Thaddeus Crews
fc9a775f56
Merge pull request #104420 from pafuent/pause_audio_when_game_is_paused
Pause audio when game is paused
2025-09-23 12:08:34 -05:00
kobewi
a57fef9558 Remove overrun code duplication 2025-09-23 16:08:46 +02:00
A Thousand Ships
f8d72ba783
[Navigation 2D] Fix sign of cross product
Regression from splitting the servers. Also replaces the method for
getting the triangle area.
2025-09-23 14:55:17 +02:00
kobewi
34be83851e Ignore main scene UID error in editor 2025-09-23 12:58:15 +02:00
Rémi Verschelde
3d91a48298
Merge pull request #110805 from lawnjelly/fix_ancestry_construct
Fix ancestry constructors
2025-09-23 10:01:40 +02:00
lawnjelly
cbbc2eae0e Fix ancestry constructors
Some object constructors in 4.x were not initializing ancestry correctly for some types, this was producing casting failures.
2025-09-23 08:23:55 +01:00
Thaddeus Crews
7521044465
Merge pull request #110750 from timothyqiu/color-picker-add
ColorPicker: Fix preset button order after calling `add_preset()`
2025-09-22 21:01:01 -05:00
Thaddeus Crews
491ecff31e
Merge pull request #99195 from shitake2333/csharp_translation_parser_support
Add c# translation parser support
2025-09-22 21:01:01 -05:00
Thaddeus Crews
cede7c8aa7
Merge pull request #109401 from DarioSamo/ubershader-for-sdf-and-material
Add ubershader support to material and SDF variants in Forward+.
2025-09-22 21:01:00 -05:00
Thaddeus Crews
71f61d959d
Merge pull request #108468 from syntaxerror247/Android-CI
CI: Generate debug build for Android
2025-09-22 21:00:59 -05:00
Thaddeus Crews
6dddb6e6d6
Merge pull request #110194 from bruvzg/emoji_run
[TextServer] Shape emojis as separate runs.
2025-09-22 21:00:58 -05:00
Thaddeus Crews
3d63c6b602
Merge pull request #110137 from fstxz/fix_edit_script
Fix `ScriptEditor::edit()` not jumping to the first line
2025-09-22 21:00:57 -05:00
Thaddeus Crews
2455635238
Merge pull request #100876 from ryevdokimov/no-restart-prompt-custom-theme
Remove prompt to restart editor after changing custom theme
2025-09-22 21:00:56 -05:00
Thaddeus Crews
709226ad1c
Merge pull request #109515 from precup/speedy-selections
Speed up large selections in the editor
2025-09-22 21:00:54 -05:00
Thaddeus Crews
800bce8a7e
Merge pull request #107975 from BlueCube3310/cube-preview-improved
Improve the cubemap preview
2025-09-22 21:00:53 -05:00
Thaddeus Crews
cee30225e9
Merge pull request #110566 from lumiscosity/optimize-pngs
Optimize PNG assets
2025-09-22 21:00:52 -05:00
Thaddeus Crews
38188881ce
Merge pull request #108549 from ryevdokimov/transform-gizmo-opacity-no-restart
Do not require editor restart when changing manipulator gizmo opacity setting
2025-09-22 21:00:52 -05:00
Thaddeus Crews
c178b063c6
Merge pull request #109632 from timothyqiu/truncate
Clarify truncation behavior in file open modes
2025-09-22 21:00:50 -05:00
lumiscosity
72a9d2128f Replace Android icons with lossless WebP files
See https://developer.android.com/develop/ui/views/graphics/reduce-image-sizes#webp. From a precursory glance the minimum API level for Godot is 24, which should support this.
2025-09-22 20:33:16 +02:00
lumiscosity
91befbbc52 Optimize PNG assets
Losslessly optimizes the PNG assets with oxipng, defluff and DeflOpt.

Tests and third party imports are omitted.
2025-09-22 20:33:16 +02:00
Thaddeus Crews
3bf0f771ee
Merge pull request #110781 from Ivorforce/rasterizer-render-uv2-allocation
Use an array instead of `TightLocalVector` in `RasterizerSceneGLES3::_render_uv2`, to avoid allocation.
2025-09-22 13:28:53 -05:00
Thaddeus Crews
a20ca7bbfe
Merge pull request #110459 from YeldhamDev/let_the_poor_ints_slide
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 13:28:52 -05:00
Thaddeus Crews
228808142b
Merge pull request #110614 from mihe/logger-thread-safety
Rephrase `Logger` documentation to be more explicit about thread-safety
2025-09-22 13:28:51 -05:00
Thaddeus Crews
2db6704576
Merge pull request #110259 from ktxyz/add-name-to-invalid-name-error-output
Add name info to EditorAutoloadSettings invalid name message
2025-09-22 13:28:50 -05:00