Commit graph

60434 commits

Author SHA1 Message Date
kobewi
60e88f2def Display path in tooltips of sub-resource list 2024-01-16 23:51:57 +01:00
HolonProduction
6af45c6ef2 Handle GDScript in _type_from_variant for autocompletion 2024-01-16 23:04:10 +01:00
A Thousand Ships
227a165ce4
[C#] Fix Encloses failing on shared upper bound for AABB and
`Rect2(I)`
2024-01-16 20:20:53 +01:00
Yuri Sizov
691450bc08 Reorganize project manager code
- Extract individual components to their own files.
- Improve order of declarations and definitions within those files.
- ProjectDialog is only extracted as there are upcoming
PRs touching on it.
2024-01-16 19:57:36 +01:00
Micky
8467245526 Overhaul AABB's documentation 2024-01-16 19:20:17 +01:00
Micky
0b02b9571c Add "missing description" tag to constant documentation
Revives #85836

Co-Authored-By: krysperz2 <106302189+krysperz2@users.noreply.github.com>
2024-01-16 18:33:33 +01:00
A Thousand Ships
2920a875dc
Cache TreeItems between runs in EditorHelpSearch 2024-01-16 16:50:45 +01:00
Rémi Verschelde
107f2961cc
Merge pull request #77554 from AThousandShips/doc_hierarchy
Add inheriting classes to `DocTools`
2024-01-16 16:48:26 +01:00
Gilles Roudière
0a726d692a Fixes global transform being wrong on entering tree 2024-01-16 16:02:37 +01:00
ajreckof
2f697926b0 Fix renaming a node to the name of its siblings breaking NodePath
Also fix cases where node name was not visually updated because name was not changed

Co-Authored-By: Nông Văn Tình <53887662+nongvantinh@users.noreply.github.com>
2024-01-16 15:18:30 +01:00
Rémi Verschelde
04eafd557f
Merge pull request #87249 from bruvzg/macos_menu_clear
[macOS] Do not unbind PopupMenu from global menu on `clear` call.
2024-01-16 15:07:47 +01:00
Rémi Verschelde
35aee0e3ad
Merge pull request #87247 from bruvzg/win_remove_dxil_check
[Windows] Remove `dxc_path` check.
2024-01-16 15:07:44 +01:00
Rémi Verschelde
079d58be9c
Merge pull request #86971 from YuriSizov/makerst-parity-check
Add code sample language parity check to `make_rst.py`
2024-01-16 15:07:40 +01:00
Rémi Verschelde
0f4bc9c085
Merge pull request #84312 from nickyfoo/fix-remove-paragraph-crash
[RichTextLabel] Fix `remove_paragraph` crash by popping current
2024-01-16 15:07:33 +01:00
A Thousand Ships
dc86483e3a
Add inheriting classes to DocTools 2024-01-16 14:42:36 +01:00
bruvzg
5a61fecd0e
[macOS] Do not unbind PopupMenu from global menu on clear call. 2024-01-16 15:33:14 +02:00
Rémi Verschelde
4b55c81eba
Merge pull request #87085 from YuriSizov/editor-improved-theme-flexibility
Refactor editor theme generation and add spacing presets
2024-01-16 12:55:01 +01:00
Nicholas Foo
c0f8e0061d
Fix RichTextLabel.remove_paragraph crash by popping current 2024-01-16 13:52:19 +02:00
bruvzg
f3a24e082c
[Windows] Remove dxc path check. 2024-01-16 13:32:24 +02:00
Yuri Sizov
dc3b07e551 Introduce editor theme spacing presets
This change adds a new editor setting related to theming
which controls base and additional spacing used in the
generated editor theme. These values can also be changed
manually by the user to customize their experience.

Limited effort was applied to make sure both Compact and
Spacious presets work and look fine, but further tuning
and adjustments are totally expected. Some controls will
require layout changes or additional fixes to their constants.
2024-01-16 11:57:45 +01:00
Yuri Sizov
635b8a1474 Split theme generation logic into several subroutines
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.

Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.

In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.

This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00
Yuri Sizov
95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
Rémi Verschelde
6bb89c71ff
Merge pull request #87229 from RandomShaper/gl_preview_goodboy
Run resource previewer on the main thread if using GL compatibility
2024-01-16 10:39:37 +01:00
Rémi Verschelde
3ba18b3fc1
Merge pull request #87223 from Mickeon/documentation-uncommon-words
Replace some "uncommon" words in class reference
2024-01-16 10:39:13 +01:00
Rémi Verschelde
5af0cb4aef
Merge pull request #87218 from Calinou/makerst-code-warning-hint-skip-lint
makerst: Suggest using `[code skip-lint]` to skip warnings if intended
2024-01-16 10:38:49 +01:00
Rémi Verschelde
a69e23b23b
Merge pull request #87216 from Calinou/editor-print-rich-handle-meta
Handle clickable `[url]` tags in `print_rich()` editor output log
2024-01-16 10:38:26 +01:00
Rémi Verschelde
429f22ddcc
Merge pull request #87208 from brno32/android-export-error-icon
Add clearer error message for missing project icon during Android export
2024-01-16 10:38:02 +01:00
Rémi Verschelde
5b19796a2b
Merge pull request #87207 from jsjtxietian/fix-normal_roughness_compatibility
Add missing check when insert function `normal_roughness_compatibility`
2024-01-16 10:37:37 +01:00
Rémi Verschelde
7d17496535
Merge pull request #87206 from bruvzg/dx12_old_msvc
Fix DX12 build on older MSVC versions, fix missing PIX include.
2024-01-16 10:37:12 +01:00
Rémi Verschelde
c16facaa67
Merge pull request #87180 from 31/dev/31/animation-length-ex
Include `animation.length` in Animation example
2024-01-16 10:36:49 +01:00
Rémi Verschelde
1debbaa468
Merge pull request #87169 from 0x0ACB/debugger_deadlock
Fix deadlock in `RemoteDebugger::debug`
2024-01-16 10:36:25 +01:00
Rémi Verschelde
db7175458a
Merge pull request #87143 from ajreckof/fix-icon-corrupted-on-nested-arrays
Fix icon corrupted when nested array editors are opened before opening main array editor.
2024-01-16 10:36:01 +01:00
Rémi Verschelde
3df0c5be6a
Merge pull request #86473 from reduz/audio-playback-parameters
Implement audio stream playback parameters.
2024-01-16 10:35:36 +01:00
Rémi Verschelde
039379d272
Merge pull request #84193 from kitbdev/dock-manager-extract
Extract `EditorDockManager` from `EditorNode`
2024-01-16 10:35:11 +01:00
Juan Linietsky
a40fe16866 Implement audio stream playback parameters.
Implements a way for audio stream playback to be configured via parameters
directly in the edited AudioStreamPlayer[2D/3D].

Currently, configuring the playback stream is not possible (or is sometimes hacky
as the user has to obtain the currently played stream, which is not always immediately available).

This PR only implements this new feature to control looping in stream playback instances (a commonly requested feature, which was lost in the transition from Godot 2 to Godot 3).
But the idea is that it can do a lot more:

* If effects are bundled to the stream, control per playback instance parameters such as cutoff or resoance, or any other exposed effect parameter per playback instance.
* For the upcoming interactive music PR (#64488), this exposes an easy way to change the active clip, which was not possible before.
* For the upcoming parametrizable audio support (https://github.com/godotengine/godot-proposals/issues/3394) this allows editing and animating audio graph parameters.

In any case, this PR is required to complete #64488.

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update doc/classes/AudioStream.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-16 10:31:52 +01:00
Pedro J. Estébanez
e5454cd660 Run resource previewer on the main thread if using GL compatibility 2024-01-16 10:01:41 +01:00
Malcolm Nixon
c316eee929 Add bone update option to OpenXRHand to allow preserving original hand scale.
This is useful if the hand model is not weighted to support re-scaling to the users hands; or the hand is scaled to non-human sizes.
2024-01-15 23:55:13 -05:00
Erik Johnson
498f46063d Add descpription for rendering/limits/spatial_indexer/threaded_cull_minimum_instances 2024-01-15 19:41:26 -05:00
DevPoodle
0bb744e555 Add descriptions to the remaining properties of RDPipelineDepthStencilState 2024-01-15 12:33:24 -08:00
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