Commit Graph

60388 Commits

Author SHA1 Message Date
kit 2323f040e9 Extract editor dock manager 2024-01-15 15:15:42 -05:00
Micky 61bdbdd9ee Replace some "uncommon" words in class reference 2024-01-15 18:51:52 +01:00
kleonc 0fe7eead02 Fix 2D normals for transposed texture 2024-01-15 17:34:29 +01:00
Hugo Locurcio cd3078e45b
makerst: Suggest using `[code skip-lint]` to skip warnings if intended 2024-01-15 15:09:21 +01:00
Hugo Locurcio 4a11d48420
Handle clickable `[url]` tags in `print_rich()` editor output log
Since this uses `OS.shell_open()`, this allows the use of any standard URL
including `file://` paths, `mailto:`, custom protocols set up by the user, etc.
2024-01-15 14:54:13 +01:00
Yuri Sizov bba3c70722 Add code sample language parity check to make_rst.py 2024-01-15 14:38:04 +01:00
Rémi Verschelde 9e65c5c0f4
Merge pull request #87183 from hakro/where-is-my-tooltip
Add tooltips to the export buttons
2024-01-15 13:31:29 +01:00
Rémi Verschelde fe76b61743
Merge pull request #87160 from kleonc/tilemap-fix-debug-drawing-truncations-to-ints
Fix some `TileMap` debug drawing truncating to ints
2024-01-15 13:31:04 +01:00
Rémi Verschelde 85a918d5a2
Merge pull request #87121 from jsjtxietian/fix-thumbnail-disappear
Fix thumbnail disappears if FileSystemDock is floated
2024-01-15 13:30:40 +01:00
Rémi Verschelde f39baf0a58
Merge pull request #87118 from AThousandShips/aabb_fix
[Core] Fix `AABB.encloses` failing on shared upper bound
2024-01-15 13:30:15 +01:00
Rémi Verschelde 73ca286df2
Merge pull request #87108 from YuriSizov/editor-capitalize-oidn
Capitalize OIDN in editor settings and properties
2024-01-15 13:29:51 +01:00
Rémi Verschelde 7af1df0894
Merge pull request #87105 from capnm/240112_horvg_from_v0.12.0_to_0.12.1
ThorVG: update from v0.12.0 to v0.12.1
2024-01-15 13:29:26 +01:00
Rémi Verschelde bf7e19887e
Merge pull request #87096 from jsjtxietian/save-to-cache
Add `shader_cache_dir_valid` check to `_save_to_cache`
2024-01-15 13:29:03 +01:00
Rémi Verschelde a3976bce7f
Merge pull request #87091 from DeeJayLSP/vulkan-268
vulkan: Update components to Vulkan SDK 1.3.268.0
2024-01-15 13:28:38 +01:00
Rémi Verschelde 463edd0daf
Merge pull request #87067 from moonpirates/bugfix-canvastexture-uvs-compatibility
Fix UV issues in Compatibility renderer
2024-01-15 13:28:14 +01:00
Rémi Verschelde fb45210e2c
Merge pull request #87063 from aaronfranke/gltf-misc-before-audio
Misc changes to the GLTF module before audio PR
2024-01-15 13:27:50 +01:00
Rémi Verschelde 14d68ad7b7
Merge pull request #87053 from nikitalita/update-natvis
Revamp `godot.natvis` to improve VS debugging experience
2024-01-15 13:27:26 +01:00
Rémi Verschelde 3482da422d
Merge pull request #87012 from TheSofox/line-edit-undo-caret-fix
Fix `LineEdit` caret rendering/positioning on Undo.
2024-01-15 13:27:02 +01:00
Rémi Verschelde 378b3ca3ba
Merge pull request #87011 from Mickeon/missing-description-primitive-mesh
Add missing descriptions to PrimitiveMesh and SoftBody3D
2024-01-15 13:26:38 +01:00
Rémi Verschelde a2d61a9ac4
Merge pull request #86979 from alessandrofama/editor-resource-picker-icons
Fix missing icons for custom resources in EditorResourcePicker
2024-01-15 13:26:14 +01:00
Rémi Verschelde fa3477f2be
Merge pull request #86878 from YeldhamDev/tabcontainer_pot_generation
Parse the names of children of `TabContainer`s on POT generation
2024-01-15 13:25:49 +01:00
Rémi Verschelde 1248fb9c18
Merge pull request #86855 from RandomShaper/fix_vk_get_image
Fix determination of copyable layout for compressed textures in Vulkan
2024-01-15 13:25:24 +01:00
Rémi Verschelde 03767fbf3b
Merge pull request #86446 from reduz/transient-to-focused
Implement a `transient_to_focused` Window mode
2024-01-15 13:25:00 +01:00
Rémi Verschelde 0e0fa999cf
Merge pull request #86288 from bruvzg/ios_xcf_export
[iOS export] Improve `.xcframework` exporting.
2024-01-15 13:24:30 +01:00
Rémi Verschelde a2b94fe8d8
Merge pull request #86145 from Rindbee/set-a-suitable-size-for-labels-with-AUTOWRAP_WORD_SMART
Set an appropriate minimum size for labels in windows that display incorrectly
2024-01-15 13:24:06 +01:00
Rémi Verschelde c1da69d8f2
Merge pull request #86141 from Maran23/popup-hover-height-calc
Fix Popup hover and height calculation are off by some pixels
2024-01-15 13:23:42 +01:00
Rémi Verschelde 5f6790aa84
Merge pull request #85197 from brno32/scons-clean
Run `Clean` in Windows SCsub to clean up debug files
2024-01-15 13:23:17 +01:00
Rémi Verschelde c981e30848
Merge pull request #84619 from quirkylemon/favorite-node-tooltip
Add tooltip for toggling favorite nodes
2024-01-15 13:22:52 +01:00
Rémi Verschelde ebc30b93ac
Merge pull request #84465 from KeyboardDanni/deferred_camera
Fix Camera2D frame delay (port from 3.x)
2024-01-15 13:22:28 +01:00
Rémi Verschelde fb5ad1af3d
Merge pull request #83014 from Chubercik/window_method_duplicate_fix
Add deprecation notice to a duplicate method of class `Window`
2024-01-15 13:22:02 +01:00
Rémi Verschelde 9c91fbedfb
Merge pull request #81905 from ckaiser/feature/project_settings_add_consistency
Improve "Add" button consistency in Project Settings
2024-01-15 13:21:34 +01:00
Hakim 6dfc36d661 Add some tooltips to the export buttons
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-15 12:14:09 +01:00
Alex Drozd 770c3b509b Add clearer error message for missing project icon during android export 2024-01-15 11:41:31 +01:00
Alberto Vilches 7a90c56c00 C# Add test suite for Diagnostic Analyzers: GlobalClass and MustBeVariant 2024-01-15 11:31:12 +01:00
jsjtxietian 747ae429de Add missing check when insert function `normal_roughness_compatibility` 2024-01-15 17:22:19 +08:00
bruvzg 2893c0b475 Fix DX12 build on older MSVC versions, fix missing PIX include. 2024-01-15 11:03:16 +02:00
31 698c67d540 Include animation.length in Animation example
The length of an Animation isn't automatically set by adding keys, and
it must be set manually. The existing example only has keys up to 0.5s,
so the default value of 1.0s may be acceptable. However, this results in
unexpected behavior for anyone who makes an animation longer than 1.0s.
Include animation.length in the example because it's important.

Also, increase the key position to 2.0s so it won't be confusing that
the assignment is somewhat redundant.
2024-01-14 10:29:02 -08:00
Juan Linietsky 15144c24bd Implement a transient_to_focused mode
This intends to be the correct way to handle non-child windows becoming covered by the current window when becoming focused.
Enabling this property on select windows, they will become transient to the currently focused one when becoming visible.

This deprecates the "unparent_when_invisible" function introduced by #76025.
2024-01-14 18:51:44 +01:00
ACB c976306628 fix deadlock in RemoteDebugger::debug 2024-01-14 11:07:14 +01:00
kleonc baa5504700 Fix some TileMap debug drawing truncating to ints 2024-01-14 02:02:46 +01:00
Griffin Kroah-Hartman 21ae69a1de fix build warning with memset value being too large
same resolution for issue #83342 for texture_storage.cpp
2024-01-13 19:05:38 +01:00
BlueCube3310 381d6348df Use ETC2 compression for grayscale images 2024-01-13 13:27:00 +01:00
ajreckof b75fb4603b Fix icon corrupted when nested array editors are opened before opening main array editor. 2024-01-13 09:20:38 +01:00
QuirkyLemon 14b2533ef6 add tooltip for toggling favorite nodes 2024-01-12 15:26:13 -06:00
Jakub Marcowski 06534f8ad5 Add deprecation notice to a duplicate method of class `Window` 2024-01-12 18:18:28 +01:00
jsjtxietian 57751b1917 Fix thumbnail disappears if FileSystemDock is floated 2024-01-13 01:15:37 +08:00
A Thousand Ships b4191bf8f6
[Core] Fix `AABB.encloses` failing on shared upper bound
This differs from `Rect2(i)` and was fixed for those classes in the past
2024-01-12 17:58:42 +01:00
风青山 f932c6548e Set an appropriate minimum size for labels in windows that display incorrectly
When the label's `autowrap_mode` is `AUTOWRAP_WORD_SMART` and the initial `text`
is set at the same time, it may have a higher height.

Set an appropriate minimum size for labels in windows that display incorrectly
so that these controls display properly.
2024-01-12 23:08:38 +08:00
Alessandro Famà 2cfdb27c81 Fix missing icons for custom resources in EditorResourcePicker
The icons of custom resources created with `class_name` and annotated with `@icon` or GDExtensionen resources that have an icon specified in the .gdextension file are not appearing in the `EditorResourcePicker`.  The problem is that the `EditorResourcePicker` retrieves the editor theme icon for the resource type and defaults to the `Object` icon if the type wasn't found. This will apply both to `class_name` and GDExtension resources.

This solution addresses the issue by replacing the usage of `Control::get_editor_theme_icon` with `EditorNode::get_class_icon` to ensure the correct icon is retrieved for the resource. Additionally, this fix removes the `custom_resources` lookup above that call, as these resources, added through `EditorPlugin::add_custom_type`, were not being included in the allowed types within `_add_allowed_type` in the `EditorResoucePicker`. Currently, these particular custom resources are never displayed in the picker. The related issue is logged here: #75245.

Fixes #86072.
2024-01-12 15:39:33 +01:00
Yuri Sizov 4975619018 Capitalize OIDN in editor settings and properties 2024-01-12 13:45:20 +01:00