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

17751 Commits

Author SHA1 Message Date
Aaron Franke
9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Thaddeus Crews
4d231b5bf8 Merge pull request #108146 from KoBeWi/singleton_favrec
Expose methods to access FileDialog's favorite/recent lists
2025-09-30 18:35:26 -05:00
Thaddeus Crews
e5bf31b170 Merge pull request #107369 from Ivorforce/node-iter-children
Core: Add `Node::iterate_children` as a fast way to iterate a node's children
2025-09-30 18:35:21 -05:00
Thaddeus Crews
b9010edcfa Merge pull request #110951 from aaronfranke/const-arr-ref-text-bidi
Use const Array ref in `set_structured_text_bidi_override_options`
2025-09-30 18:35:20 -05:00
Thaddeus Crews
af08ab49f7 Merge pull request #107468 from Calinou/editor-animationtree-warn-disabled
Display AnimationTree editor warnings when the node is disabled
2025-09-30 18:35:14 -05:00
Thaddeus Crews
b9513683d5 Merge pull request #109900 from Ryan-000/Make-Node-orphan_node_count-thread-safe
Make Node::orphan_node_count thread-safe
2025-09-30 18:35:13 -05:00
Thaddeus Crews
d86123870b Merge pull request #52285 from rxlecky/camera-override-cleanup
Clean up and simplify camera override API
2025-09-30 18:35:11 -05:00
Thaddeus Crews
45d064c388 Merge pull request #109590 from bruvzg/focus_checks
`find_*_valid_focus`: Check all tested neighbors to prevent loops.
2025-09-30 18:35:00 -05:00
kobewi
3615b188d7 Expose methods to access FileDialog's favorite/recent lists 2025-09-30 22:46:09 +02:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Ryan
6ebef31b3c Make Node::orphan_node_count thread-safe 2025-09-29 17:54:41 -04:00
Aaron Franke
754d49ac81 Skip copying values constructed immediately before returning 2025-09-26 19:13:58 -07:00
Aaron Franke
1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
Thaddeus Crews
a078895ad2 Merge pull request #109243 from precup/tile-map-optimizations
Avoid unnecessary updates in `TileMapLayer`
2025-09-25 12:13:57 -05:00
Thaddeus Crews
c32c2606f4 Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -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
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
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01: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
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
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
54e74142af Merge pull request #110656 from KoBeWi/LocalTweener
Change list of Tweeners from Vector to LocalVector
2025-09-24 09:59:03 -05: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
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
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
e6d25c0f73 Merge pull request #110819 from KoBeWi/overrun_with_dupes
Remove overrun code duplication
2025-09-23 14:51:45 -05:00
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02: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
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
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
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
kobewi
a57fef9558 Remove overrun code duplication 2025-09-23 16:08:46 +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
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
2d94ad1f3a Merge pull request #93389 from KoBeWi/MASSIVE_copy_paste
Remove code duplication in Button
2025-09-22 13:28:47 -05:00
Thaddeus Crews
89c51cb183 Merge pull request #110571 from WhalesState/get-children
Improve `Node::get_children` performance.
2025-09-22 13:28:46 -05:00
Thaddeus Crews
035f5d3055 Merge pull request #110763 from Ivorforce/object-derives-from
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05:00
Thaddeus Crews
be421bcdd4 Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews
d069699940 Merge pull request #110752 from wheatear-dev/expand-110693
Add `GDSOFTCLASS` to six inheritors of `Object`
2025-09-22 13:28:41 -05:00
Michael Alexsander
f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
Thaddeus Crews
ba0da90ba6 Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews
999b94cc39 Merge pull request #109012 from Lielay9/fix_gradient_color
Round gradient colors
2025-09-22 08:50:08 -05:00
Thaddeus Crews
c852872cb2 Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Thaddeus Crews
94dbc42a56 Merge pull request #62083 from KoBeWi/string_slice'n_dice
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
Lukas Tenbrink
96619d46a1 Use AncestralClass to speed up Object::cast_to when possible. 2025-09-22 13:21:51 +02:00
Edward Moulsdale
12e97610a8 Add GDSOFTCLASS to six inheritors of Object 2025-09-21 16:22:29 +01:00