Commit Graph

15762 Commits

Author SHA1 Message Date
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
a3080477ac Merge pull request #98281 from timothyqiu/custom-tooltip-atm
Don't override auto translate mode of custom tooltip
2024-10-27 19:25:37 -07:00
9d3b879219 Merge pull request #98529 from zeux/meshopt-22
Update meshoptimizer to 0.22
2024-10-27 19:09:50 -07:00
e2cc0e484e Update meshoptimizer to 0.22
The Godot-specific patch is just a single line now; removing this patch
will likely require adjusting Godot importer code to handle error limits
better.

This also adds new SIMPLIFY_ options; Godot is currently not using any
of these but might use SIMPLIFY_PRUNE and SIMPLIFY_SPARSE in the future.
2024-10-26 07:26:07 -07:00
814187de60 Merge pull request #97212 from Riteo/picking-the-right-expand-mode
ColorPicker: Ignore TextureRect expand mode during legacy picking
2024-10-25 13:03:59 -05:00
2c87cb601f Merge pull request #98477 from Calinou/styleboxflat-corner-radius-increase-range-hint
Increase range hint for StyleBoxFlat `border_width`, `corner_radius` and `expand_margin`
2024-10-25 13:03:54 -05:00
6e9907d483 Merge pull request #92554 from Nazarwadim/implement_a_hash_map
Implement array based hash map `AHashMap`
2024-10-25 13:03:45 -05:00
4aad050067 Merge pull request #97157 from pafuent/fixing_tree_item_get_prev_wrap
Fix `TreeItem` `get_prev*` methods when `p_wrap` is `true`
2024-10-25 13:03:42 -05:00
6424b201e2 Don't override auto translate mode of custom tooltip 2024-10-25 16:13:45 +08:00
e952651f89 Merge pull request #98293 from timothyqiu/emptiness-is-indeed-form
Fix error when undo tile deletion in TileSetAtlasSourceEditor
2024-10-24 20:41:39 -07:00
cb618e46f8 Merge pull request #97335 from SlienCode/master
Fix `font_hover_pressed_color` and `icon_hover_pressed_color` not working for no stylebox use on `Button`
2024-10-24 20:38:33 -07:00
6bd24cbad2 Merge pull request #98368 from KoBeWi/color_picking_active_your_color_is_now_being_picked_please_pick_your_color
Fix legacy picking label bounds
2024-10-24 18:59:43 -07:00
76208f7155 Implement array based hash map 2024-10-24 21:34:12 +03:00
cfc05c5e0f Merge pull request #85338 from EMBYRDEV/shadow-caster-mask
Add `shadow_caster_mask` to Light3D.
2024-10-24 13:22:59 -05:00
fa673be2b1 Merge pull request #91341 from bjornmp/NewMaster
Enforce custom nodes to keep their original type
2024-10-24 13:22:56 -05:00
f25c082c40 Merge pull request #98490 from KoBeWi/pointer_to_canvas
Improve `make_canvas_position_local()` description
2024-10-24 13:22:52 -05:00
b9e8e54521 Merge pull request #98479 from timothyqiu/empty-tooltip
Fix some flickering tooltips
2024-10-24 13:22:49 -05:00
e3751721af Merge pull request #98451 from RandomShaper/ext_text_err
ExternalTexture: Avoid error when destroyed without having been used
2024-10-24 13:22:38 -05:00
e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +02:00
9aea7cbd15 Fix some flickering tooltips 2024-10-24 08:34:29 +08:00
ad24dd4ba2 Increase range hint for StyleBoxFlat border_width, corner_radius and expand_margin 2024-10-24 01:21:40 +02:00
98b8beddc5 ExternalTexture: Avoid error when destroyed without having been used 2024-10-23 10:04:38 +02:00
06998a3927 Enforce that custom nodes keep their original type
Enforce that custom nodes and resources created via the "Create New Node" dialog, should permanently retain their original type (script). This means:

- Type continuity: It should be impossible for the user to (accidentally) clear the original script of a custom node that was created via the "Create New Node" dialog.

- Extensibility: The user should be able to extend custom types as usual (create a script that inherits the original type and replace the original script of that node with his own). However, if he then clears his extension-script from that node later on, the custom type should revert to its original script instead of becoming a non-scripted type.
2024-10-22 18:18:16 +02:00
82b53b1e1b Fix legacy picking label bounds 2024-10-22 13:50:49 +02:00
b3bcb2dc14 Merge pull request #98299 from timothyqiu/tree-coordinate
Fix button click detection when `Tree` is rotated
2024-10-21 16:39:31 -05:00
a4ed24acef Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startup
Fix loss of gdextension on editor startup
2024-10-21 16:39:30 -05:00
66d19abdfa Merge pull request #96629 from ditiem-games/path2d
Fix Animated Path2D doesn't update PathFollow2D progress when scene is running.
2024-10-21 16:39:28 -05:00
7dbea98c49 Merge pull request #97005 from Repiteo/core/window-corner-style
Core: Add `DisplayServer` flag for sharp corners
2024-10-21 16:39:25 -05:00
77da16ce69 Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
291e4b78e2 Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactor
Don't include `core/io/image.h` in `core/os/os.h`
2024-10-21 16:39:15 -05:00
7a438dc72e Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
4ce5235fbd Merge pull request #98203 from timothyqiu/layout-dir-created-equal
Add System Locale layout direction for `Control` and `Window`
2024-10-21 16:39:07 -05:00
16d68c6be4 Merge pull request #98201 from AThousandShips/lightmap_compile_fix
Fix unreachable code in `lightmap_gi.cpp`
2024-10-21 16:39:06 -05:00
29fa4b18f1 Merge pull request #97807 from syntaxerror247/colorPicker_kb_fix
Fix `ColorPicker` virtual keyboard popup on mobile
2024-10-21 16:39:06 -05:00
fbd1643176 Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
2024-10-20 18:39:31 -04:00
80f0b33313 Merge pull request #97977 from syntaxerror247/menu_bar_refresh_bug
Refresh `MenuBar` scene after child renamed in editor
2024-10-18 13:54:27 -07:00
f8c4a683d7 Core: Add DisplayServer flag for sharp corners 2024-10-18 11:20:21 -05:00
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
17642692c5 Fix button click detection when Tree is rotated 2024-10-18 22:43:48 +08:00
5adb489a04 Fix error when undo tile deletion in TileSetAtlasSourceEditor 2024-10-18 20:06:31 +08:00
acc3786db2 Merge pull request #98009 from TokageItLab/init-skel-skin
Fix initial skin update timing in Skeleton3D
2024-10-17 16:51:05 -07:00
be9e42c6a4 Merge pull request #97888 from Gamemap/Itemlist-fix-right-padding
ItemList - Fix right padding missing
2024-10-17 16:47:11 -07:00
009446a277 Add System Locale layout direction for Control and Window 2024-10-17 07:52:07 +08:00
ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00
d29e7b6953 Fix initial skin update timing in Skeleton3D 2024-10-16 05:13:13 +09:00
fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
de128812f3 Fix unreachable code in lightmap_gi.cpp 2024-10-15 13:17:15 +02:00
3fcbb1d436 Merge pull request #97770 from tdaven/fix-94151
Fix immediate mesh modifications that don't call set_mesh
2024-10-14 14:09:56 -05:00
ba9e98f447 Merge pull request #97961 from timothyqiu/force-tooltip
Allow `Control` to show custom tooltip when tooltip text is empty
2024-10-14 14:09:49 -05:00
c220e5bffd Merge pull request #97122 from adamscott/fix-trackpad-code-completion-scrolling
Fix trackpad code completion scrolling
2024-10-14 14:09:44 -05:00