Commit Graph

77383 Commits

Author SHA1 Message Date
Thaddeus Crews
d48f255074 Windows: Migrate godot.manifest to platform/windows
• Ensure file is included as proper dependency
2025-09-25 09:15:00 -05:00
danielgsilva
bc9c14da7a Add helper methods and simplify logic 2025-09-25 13:41:15 +01:00
Thaddeus Crews
ecfe34f56c Merge pull request #110892 from AThousandShips/fix_build_2d
Revert "Replace many uses of `is_class` with `derives_from`."
2025-09-25 07:11:02 -05:00
A Thousand Ships
bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Artemy Fedotov
40d56c98bc Fix LineEdit's placeholder text being selected when double clicking 2025-09-25 12:05:48 +04:00
Arseny Kapoulkine
ccbece58d8 Enable component pruning during simplification
In addition to the regular edge collapse, we now allow the simplifier to
remove small isolated components. Components that are removed are below
the error threshold in size and as such should not noticeably contribute
to the overall rendering of the object.

This helps simplify topologically complex but small parts of larger
meshes and more comfortably reach the LOD targets.

In some cases, pruning can cause the last LOD to shrink to 0 triangles
which may prevent a slightly larger LOD from being used at the maximum
distance; in this case we retry simplification without pruning once.
2025-09-24 22:23:55 -07:00
Nikita
a75e6be6fb Fix HashMap/HashSet in natvis after member renames 2025-09-24 21:51:03 -07:00
Clay John
6e4e8072e1 Merge pull request #110027 from zeux/lod-iter
Switch LOD generation to use iterative simplification
2025-09-24 20:57:41 -07:00
Stuart Carnie
d93fe9038d Metal: Fix Metal compiler version inspection 2025-09-25 06:35:31 +10:00
Mara Huldra
c64ff4b069 wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
Without this, the screen does go into idle after a few minutes on a RPi5 with default install (wayland w/ labwc), even
though `screen_keep_on` is set. DBUS is enabled but apparently, the screensaver call is not enough.
2025-09-24 22:17:38 +02:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Mounir Tohami
c07966583f Fix editor theme margins and TextEdit normal/read_only styles draw. 2025-09-24 20:42:22 +03:00
BlueCube3310
f64ccadceb Image: Support generating mipmaps for all formats 2025-09-24 18:48:28 +02:00
Aaron Franke
a238af4d20 Use num_scientific (Grisu2) when stringifying JSON with full precision 2025-09-24 08:21:37 -07:00
Thaddeus Crews
1ce3101fbc Merge pull request #110814 from Jordyfel/2d-editor-get
Cache editor setting queried in hot path in 2D editor
2025-09-24 09:59:16 -05:00
Thaddeus Crews
de27f3a435 Merge pull request #110108 from PiCode9560/suspend-button
Differentiate the suspend button in the Game tab with the Pause button in the editor run bar
2025-09-24 09:59:15 -05:00
Thaddeus Crews
daa1fc97dd Merge pull request #107547 from beicause/shader-compiler-print-content-verbose
ShaderCompiler: Optimize compilation error printing
2025-09-24 09:59:14 -05:00
Thaddeus Crews
7e5c6890b2 Merge pull request #110298 from 0xcafeb33f/fix-skeleton-mirror
Fix Skeleton2D TwoBoneIK and LookAt mirroring
2025-09-24 09:59:13 -05:00
Thaddeus Crews
6f57447710 Merge pull request #109943 from kevinlam508/proper-tree-size-without-scrollbars
Fix tree to update size with scrollbars disabled
2025-09-24 09:59:13 -05:00
Thaddeus Crews
5db618a2db Merge pull request #109078 from WhalesState/text-edit-clipping
Fix TextEdit clips children and focus style.
2025-09-24 09:59:12 -05:00
Thaddeus Crews
7b8073d122 Merge pull request #107763 from Ivorforce/missing-vpv
Add missing `vpv.push_back(pv);` in `render_target_get_sdf_texture`.
2025-09-24 09:59:11 -05:00
Thaddeus Crews
cf82b71c7a Merge pull request #109915 from arkology/audio-editor
Fix Audio bottom panel going under the taskbar on small displays
2025-09-24 09:59:10 -05:00
Thaddeus Crews
78b743cf4a Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Thaddeus Crews
a7b2cd66ad Merge pull request #105773 from dugramen/fix-inspector-spacing
Fix inspector spacing issues
2025-09-24 09:59:08 -05:00
Thaddeus Crews
22355f2114 Merge pull request #110251 from KoBeWi/semote_relect
Properly inspect old remote selection
2025-09-24 09:59:07 -05:00
Thaddeus Crews
f987cf8a8a Merge pull request #110231 from fstxz/fix_shader_path
Fix invalid suggested file name when saving resource from a scene that hasn't been saved yet
2025-09-24 09:59:06 -05:00
Thaddeus Crews
6547174ccf Merge pull request #110024 from dagarsar/tree-rl
Fix child relationship lines not being drawn when selecting cells other than first
2025-09-24 09:59:05 -05:00
Thaddeus Crews
3d1d4bf934 Merge pull request #110247 from BlueCube3310/image-fill-mips
Image: Make `fill` method also fill the mipmaps
2025-09-24 09:59:04 -05:00
Thaddeus Crews
8c956babeb Merge pull request #107013 from Rindbee/fix-wrong-node-path-in-connection-dialog
Fix the extra arguments of type `NodePath` in the connection dialog do not work
2025-09-24 09:59:03 -05:00
Thaddeus Crews
54e74142af Merge pull request #110656 from KoBeWi/LocalTweener
Change list of Tweeners from Vector to LocalVector
2025-09-24 09:59:03 -05:00
Thaddeus Crews
89fea8ec34 Merge pull request #109339 from AThousandShips/fix_copyright
[Copyright] Fix spelling of license
2025-09-24 09:58:57 -05:00
Giganzo
e90a337fa3 Fix SpinBox stepper grabbing focus state on mouse input 2025-09-24 16:51:59 +02:00
danielgsilva
1a77567029 Add method to check if any cell is selected and fix relationship line conditional 2025-09-24 13:44:57 +01:00
Bryce Hutchings
58ecb8ade5 Fix D3D12 using the wrong clip space projection matrix. Remove error-prone/unnecessary graphicsApi parameter. 2025-09-23 16:58:39 -07:00
dugramen
5fa4e3dee1 Fix inspector spacing issues 2025-09-23 16:38:01 -04:00
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