1
0
Fork 0
Commit Graph

10612 Commits

Author SHA1 Message Date
Rémi Verschelde 0a7471c2a2 Merge pull request #99604 from LaneSBarnes/patch-1
Fix example code snippets in AudioStreamGenerator.xml
2025-01-11 22:29:29 +01:00
jaredkunz 02c10454a8 Clarify expected types in RayCast3D documentation 2025-01-11 22:06:31 +01:00
QbieShay e9eb0b6082 Implemented tools around particles seed randomization.
The purpose of this code is to expose the necessary
functions for users and engine devs to develop tooling
for properly timing and seeking inside particles.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-11 16:31:24 +01:00
DubiousDuck fb7e666bfb Fix SkeletonProfileHumanoid documentation error 2025-01-10 17:43:17 -08:00
Rémi Verschelde 0471f6e44a Merge pull request #101378 from yannlemos/fix-typo-in-editor-debugger-plugin-docs
Fix typo in EditorDebuggerPlugin documentation
2025-01-10 23:06:36 +01:00
Rémi Verschelde 867425fd62 Merge pull request #101021 from bruvzg/empick
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 23:06:03 +01:00
Rémi Verschelde 3014eec40d Merge pull request #99407 from devloglogan/rec-resolution
Allow using custom `Rect2i` for rendering with OpenXR
2025-01-10 23:05:46 +01:00
havi05 a9af65d368 Add HScrollbar to ItemList 2025-01-10 14:59:12 +01:00
WhalesState 2eded468f9 Add `ColorPicker` cursor background and reuse the cursor for wheel.
Add a cursor's background to fill the picker cursor.
Unhardcode the wheel radius.
Reuse the picker cursor image for the HSV wheel.
2025-01-10 09:55:54 +02:00
Pāvels Nadtočajevs b252867145 [macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Yann Lemos 24cf3be7ce Fix typo in Editor Debugger plugin documentation 2025-01-09 22:41:48 -03:00
Rémi Verschelde 496a990fc0 Merge pull request #92526 from dalexeev/gds-remove-renamed-hint-from-warning-enum
GDScript: Remove `RENAMED_IN_GODOT_4_HINT` from `GDScriptWarning::Code` enum
2025-01-09 20:51:21 +01:00
Danil Alexeev cd918ff470
GDScript: Remove `RENAMED_IN_GODOT_4_HINT` from `GDScriptWarning::Code` enum 2025-01-09 21:07:41 +03:00
devloglogan e7f6b7ea0b Allow using custom Rect2i for rendering with OpenXR 2025-01-09 09:46:15 -06:00
Rémi Verschelde 4396f8fbd3 Add AudioStreamMP3 `load_from_file`/`load_from_buffer` and harmonize other audio streams
Move OggVorbis and MP3 loading code to their AudioStream class, matching how it's done for WAV.

The duplicate functions in ResourceImporterOggVorbis are now deprecated.

Co-authored-by: MaxIsJoe <34368774+MaxIsJoe@users.noreply.github.com>
2025-01-09 15:46:04 +01:00
Rémi Verschelde 3c1c538b68 Merge pull request #101330 from Hakunamawatta/patch-1
Fix typo in Basis `get_rotation_quaternion` doc
2025-01-09 13:51:17 +01:00
Rémi Verschelde d164f05dda Merge pull request #101263 from mateuseap/fix/os_shell_open
Fix example in `OS.shell_open()` method documentation and add a new one
2025-01-09 13:51:03 +01:00
Rémi Verschelde c657178606 Merge pull request #101299 from Calinou/doc-tilemaplayer-tutorials
Add TileMap tutorials to TileMapLayer class reference
2025-01-09 11:17:35 +01:00
Rémi Verschelde 65cf7c1d5e Merge pull request #101221 from bruvzg/win_dec_exp
[Window] Expose `start_drag` and `start_resize` methods (for both native and embedded windows).
2025-01-09 11:17:24 +01:00
Hakunamawatta 1250d98d19
Fix typo in Basis get_rotation_quaternion doc 2025-01-09 17:09:32 +11:00
Rémi Verschelde 21721ae344 Merge pull request #87260 from Calinou/tonemap-add-agx
Add AgX tonemapper option to Environment
2025-01-08 18:20:03 +01:00
Hugo Locurcio 5bda507f65
Add TileMap tutorials to TileMapLayer class reference
- Add Dynamic TileMap Layers demo link as well.
2025-01-08 18:10:42 +01:00
Hugo Locurcio 084e84be78
Add AgX tonemapper option to Environment
Technical implementation notes:

- Moved linearization step to before the outset matrix is applied and
  changed polynomial contrast curve approximation.
  - This does *not* implement Blender's chroma rotation to address hue shift.
    This hue rotation was found to have a significant performance impact.
- Improved performance by combining the AgX outset matrix with the Rec 2020 matrix.

Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2025-01-08 17:01:16 +01:00
Aarni Koskela f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Mateus Elias 8a810dd55a Fix incorrect string escaping in OS.shell_open() method Windows path example
Corrected improper string escaping in the OS.shell_open() Windows path example. Backslashes are now properly escaped to prevent string parsing errors. Also, added a new alternative example of how to mount a Windows path with OS.shell_open().
2025-01-08 09:46:56 -03:00
Rémi Verschelde a7d84fa022 Merge pull request #100792 from lyuma/post_import_plugin_subresources
Allow post-import plugins to modify `_subresources`
2025-01-08 00:21:03 +01:00
Rémi Verschelde 0c763602f9 Merge pull request #101237 from mihe/jolt/cache-bounce-velocity
Cache value of Jolt Physics project setting `bounce_velocity_threshold`
2025-01-07 23:18:13 +01:00
Rémi Verschelde 709f2e1a5d Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Rémi Verschelde ce6c3c5c28 Merge pull request #100556 from KoBeWi/unlimited_contextizer
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01:00
Rémi Verschelde 9a4142c17e Merge pull request #98262 from KoBeWi/fileland_natives
Mention native file dialogs editor setting in EditorFileDialog description
2025-01-07 23:17:08 +01:00
Rémi Verschelde b194e050d7 Merge pull request #91333 from YeldhamDev/working_on_this_felt_like_constantly_walking_into_rakes
Make `PopupMenu/Panel` shadows properly visible again
2025-01-07 23:17:02 +01:00
Pāvels Nadtočajevs 8d911b2554 [Window] Expose `start_drag` and `start_resize` methods (for both native and embedded windows). 2025-01-07 23:35:14 +02:00
Hendrik Brucker 054340bb6b Add a supersampling option to LightmapGI
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
Mikael Hermansson d6b822c891 Cache value of Jolt Physics project setting `bounce_velocity_threshold` 2025-01-07 18:35:04 +01:00
Rémi Verschelde 6d5e47a54c
Merge pull request #100532 from bruvzg/win_size_drag
Implement `DisplayServer.window_start_resize`.
2025-01-07 10:14:42 +01:00
Rémi Verschelde 6e9be55ee2
Merge pull request #100104 from bruvzg/ts_data_in_template
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
Pāvels Nadtočajevs 3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
bruvzg cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
Pāvels Nadtočajevs 7f0b4e58b0 Implement `DisplayServer.window_start_resize`. 2025-01-07 07:58:02 +02:00
Rémi Verschelde 452f1fa0e9
Merge pull request #100512 from bruvzg/dict_keys
[Dictionary Property Editor] Use property editors instead of labels to display keys.
2025-01-07 00:45:00 +01:00
Rémi Verschelde f92780204e
Merge pull request #101166 from jss2a98aj/opengl3-fallback-wording
Improve OpenGL 3 fallback documentation wording
2025-01-06 22:49:22 +01:00
Rémi Verschelde 6e826b26d9
Merge pull request #101148 from TokageItLab/skelmod-generic
Move enum BoneAxis to SkeletonModifier from LookAtModifier
2025-01-06 22:49:14 +01:00
Rémi Verschelde 8231494581
Merge pull request #101107 from Calinou/doc-collisionpolygon2d-fix-warning
Fix warning in CollisionPolygon2D documentation description
2025-01-06 22:48:57 +01:00
Rémi Verschelde 20728e7b05
Merge pull request #101101 from Calinou/editor-add-gridmap-grid-color-setting
Add an editor setting for the GridMap grid color
2025-01-06 22:48:50 +01:00
Rémi Verschelde 8c78540d47
Merge pull request #100931 from beicause/color-picker-hue-accuracy-okhsl
ColorPicker: Improve the accuracy of hue slider in OKHSL mode
2025-01-06 22:48:01 +01:00
Rémi Verschelde 3c50ee6c9e
Merge pull request #100903 from Hakunamawatta/patch-1
Fix `get_meta_list` return type in description
2025-01-06 22:47:57 +01:00
Rémi Verschelde 44f871ff72
Merge pull request #100898 from Summersay415/wayland-issue
Fix exclusive fullscreen on Wayland
2025-01-06 22:47:53 +01:00
Rémi Verschelde c1f65b429d
Merge pull request #100329 from eviltrout/add-custom-line-offset
Add `get_selection_line_offset` to `RichTextLabel`
2025-01-06 22:47:33 +01:00
Rémi Verschelde 282c2c8490
Merge pull request #99921 from Flarkk/aspect_ratio_convention
Document inverse aspect ratio convention of `Projection::get_fovy()`
2025-01-06 22:47:20 +01:00
Rémi Verschelde 399f585042
Merge pull request #99603 from stuartcarnie/metal_fx_upscaling
Metal: Add MetalFX upscaling support
2025-01-06 22:47:08 +01:00
Rémi Verschelde 11f95e7feb
Merge pull request #99350 from bruvzg/fs_mime
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde ae205b0fc6
Merge pull request #98926 from YeldhamDev/out_all_of_you
Add toggle to hide filtered out parents in the "SceneTree" dock
2025-01-06 22:46:48 +01:00
Rémi Verschelde c78d9d2fe7
Merge pull request #98660 from Meorge/tween-subtween
Add `Tween.tween_subtween` method for nesting tweens within each other
2025-01-06 22:46:40 +01:00
jss2a98aj e9c1c44be2 Fix OpenGL 3 fallback wording
It should not say "both" where there are three APIs listed.
2025-01-06 10:58:22 -05:00
Stuart Carnie 11dc4f2e5e Metal: Add MetalFX upscaling support
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-06 06:03:18 -07:00
Silc Lizard (Tokage) Renew f1f152ea5a Move enum BoneAxis to SkeletonModifier from LookAtModifier 2025-01-05 14:14:36 +09:00
Pāvels Nadtočajevs e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
Hugo Locurcio 54a4a874fa Fix warning in CollisionPolygon2D documentation description
This was a copy-paste error from the CollisionShape2D documentation.
2025-01-04 17:53:19 +01:00
LuoZhihao 9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
Malcolm Anderson be266138d7 Add `tween_subtween` method for nesting Tweens
No actual functionality yet

Actual subtween functionality implemented

Added documentation for Tween.tween_subtween and SubtweenTweener

Implemented some additional functions

`set_ease`, `set_trans`, and `set_delay`
Documentation only for `set_delay` so far, since I have tested it

Removed set_ease and set_trans

Upon further investigation, the way they are implemented for Tween doesn't appear to work here

Fixed indentation in documentation

Reset subtween when parent loops

Fix return type of `SubtweenTweener.set_delay`

Add notes to documentation

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply some suggested changes

- Remove excessive documentation
- Add Tween constructor that takes in SceneTree
- Make `SubtweenTweener::subtween` public so that `Tween` doesn't have to be a friend class

Remove unneeded friend class SceneTree

Remove superfluous documentation describing subtween behavior

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply suggestions from code review

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Apply suggestions from code review

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

Early return from `tween_subtween` if the subtween is `null`
2025-01-03 14:28:48 -08:00
Hugo Locurcio 19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
Roan Lubbe 6b1869b76b Fix get_meta_list return type in description 2025-01-03 16:17:28 +11:00
Rémi Verschelde d47fef15b8
Merge pull request #100991 from TokageItLab/180deg-arc
Fix looking at with 180 degree arc
2025-01-03 00:49:59 +01:00
Rémi Verschelde e680767fb9
Merge pull request #100987 from marcelovbcfilho/master
Windows: Implement native menu close callback
2025-01-03 00:49:55 +01:00
Rémi Verschelde 5ff616736a
Merge pull request #100825 from KoBeWi/colored_eight
Add `Color.from_rgba8` and deprecate Color8
2025-01-03 00:49:18 +01:00
Rémi Verschelde ff14d86fa3
Merge pull request #100811 from TokageItLab/bitmask-retarget
Make transform elements BitField in RetargetModifier
2025-01-03 00:49:14 +01:00
Rémi Verschelde 8be07f1c23
Merge pull request #100785 from syntaxerror247/request-permission-doc
Update `OS.request_permission(...)` description
2025-01-03 00:49:06 +01:00
Rémi Verschelde 386e4e16b3
Merge pull request #100729 from Lazy-Rabbit-2001/new_create_dialog_p1
Improve script class display in Create dialog
2025-01-03 00:48:58 +01:00
Rémi Verschelde 703552c51b
Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +01:00
Rémi Verschelde d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Rémi Verschelde 7ccc00d787
Merge pull request #99242 from RedMser/fix-todos-in-classref
Fix TODO comments in class reference
2025-01-03 00:48:04 +01:00
Lazy-Rabbit-2001 a550eef9f3
Improve script class display in Create dialog 2025-01-03 00:19:25 +01:00
Mounir Tohami e89c196a80 `LineEdit` add member `keep_editing_on_text_submit`.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
Summersay415 8c1742c957 Fix exclusive fullscreen on Wayland 2025-01-02 21:49:49 +07:00
Marcelo Vilas Boas Correa Filho 3bb2309f6b Feature adding Windows native menu close callback 2025-01-02 10:52:09 -03:00
Anish Mishra b50d9b7d8c Update OS.request_permission(...) description 2025-01-02 15:22:23 +05:30
Silc Lizard (Tokage) Renew d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09:00
Thaddeus Crews e9cebfa2f3
Merge pull request #100865 from SlashScreen/fix_plugin_docs
Fix docs for `EditorContextMenuPlugin.add_context_submenu_item`
2024-12-30 08:58:39 -06:00
Thaddeus Crews 953db6e785
Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
2024-12-30 08:58:36 -06:00
Thaddeus Crews b987e906ba
Merge pull request #100156 from ydeltastar/fix-doc-scroll
Fix scroll to symbol's documentation
2024-12-30 08:58:28 -06:00
Thaddeus Crews 0e00f41650
Merge pull request #100735 from tvenclovas96/tween_ignore_time_scale
Add an option for tweens to ignore `Engine.time_scale`
2024-12-30 08:58:25 -06:00
Patrick Exner e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
Slashscreen 8b3fbd51dc Fixed docs for add_context_submenu_item 2024-12-27 15:12:22 -08:00
Silc Lizard (Tokage) Renew 24f5361b8a Make transform elements BitField in RetargetModifier 2024-12-28 07:19:48 +09:00
ydeltastar 64788069a0
Fix scroll to symbol's documentation 2024-12-27 17:12:05 -03:00
kobewi 4e48b19e1f Add Color.from_rgba8 and deprecate Color8 2024-12-27 11:26:59 +01:00
Michael Alexsander 38ff1500c7
Add toggle to hide filtered out parents in the "SceneTree" dock 2024-12-24 13:43:01 -03:00
Lyuma 637fe3ccdd Allow post-import plugins to modify _subresources
The old code fetched some data before the `EditorScenePostImportPlugin._pre_process` callback.
While the callback could modify existing keys, this prevented users from adding new data on a fresh import.

By fetching the keys after pre_process, this means users can consistently modify import options for nodes, meshes, materials and animations in a post-import plugin.
2024-12-24 07:34:24 -08:00
AThousandShips 8d1a3e2a76
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
Renamed `get_ignore_time_scale` to `is_ignoring_time_scale` following general naming standards.
2024-12-23 16:47:00 -05:00
Micky ca4b29b18d Standardize all "Prints" comments in documentation 2024-12-23 21:26:00 +01:00
Thaddeus Crews b97c8b37f6
Merge pull request #98441 from Yelloween10/fix-modifier-mask
Fix incorrect `KEY_MODIFIER_MASK` value
2024-12-23 11:15:17 -06:00
Thaddeus Crews 7b42fb969e
Merge pull request #100685 from raulsntos/dotnet/collection-expressions
[.NET] Use collection expressions in docs
2024-12-23 11:15:15 -06:00
Thaddeus Crews 53a7e08491
Merge pull request #100702 from spoxii/patch/unused_gridmap_editor_side
Remove unused editor setting `editors/grid_map/editor_side`
2024-12-23 11:15:14 -06:00
Thaddeus Crews b77fde8e07
Merge pull request #100731 from Lazy-Rabbit-2001/popup_create_dialog_as_experimental
Mark `EditorInterface.popup_create_dialog()` as experimental
2024-12-23 11:15:10 -06:00
tvenclovas96_bigblackc dbc0cc1437 Add `Tween::ignore_time_scale` 2024-12-22 18:39:54 +02:00
SPOXY 143e10e020 Remove unused editor setting `editors/grid_map/editor_side`
This option is no longer used after the rework in GH-96922
2024-12-22 12:27:21 +01:00
Lazy-Rabbit-2001 0d182cf9c2 Marked `EditorInterface.popup_create_dialog()` as experimental in the doc 2024-12-22 15:50:19 +08:00
smix8 d51615b334 Change navigation map synchronization to an async process
Changes the navigation map synchronization to an async process to avoid stalling the main thread.
2024-12-22 02:03:59 +01:00
Raul Santos 072ff85f82
[.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
Rémi Verschelde a7a2a12bfd
Merge pull request #100671 from bruvzg/get_menu
[MenuBar] Use PopupMenu title property as a menu name.
2024-12-20 23:57:47 +01:00