Commit Graph

11541 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
50740c4e91 Make CharFXTransform.font property read only, add some extra documentation notes. 2025-02-02 23:08:35 +02:00
Thaddeus Crews
4f827e6190
Merge pull request #95169 from Calinou/editorspinslider-float-step-1-slider
Make EditorSpinSlider display a slider for floats with a step of 1.0
2025-01-31 09:15:55 -06:00
Hilderin
f601117c74 Fix Embed Game not available when multi window is disabled 2025-01-31 07:56:54 -05:00
Thaddeus Crews
3c80c14092
Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
ChildLearningClub
2710c359d6 Changed if false to if true "Emoji and Symbols" menu is enabled. 2025-01-28 18:42:05 +01:00
Adam Scott
47f553ae0b
Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Thaddeus Crews
998a21782f
Merge pull request #101768 from KoBeWi/just_spread_the_code_with_another_layer_of_hacks_what_can_go_wrong_huh
Fix inspector jumping when gaining focus
2025-01-28 09:03:43 -06:00
kobewi
9226424401 Fix inspector jumping when gaining focus 2025-01-27 17:41:18 +01:00
Thaddeus Crews
583b6aef9c
Merge pull request #101818 from Yelloween10/update-subviewport-doc
Update SubViewport documentations to include a note about input behaviour
2025-01-27 09:46:08 -06:00
Thaddeus Crews
4129a09a5c
Merge pull request #102080 from bruvzg/fd_open_any
Fix FILE_MODE_OPEN_ANY file dialog not selecting folders.
2025-01-27 09:46:06 -06:00
Thaddeus Crews
7ce0828c5b
Merge pull request #101883 from ProgrammerOnCoffee/cpuparticles-doc
Fix incorrect `CPUParticles2D` and `CPUParticles3D` documentation
2025-01-27 09:45:56 -06:00
Pāvels Nadtočajevs
adceb32177 Fix FILE_MODE_OPEN_ANY file dialog not selecting folders. 2025-01-27 10:43:11 +02:00
Muller-Castro
3d8301445d Change from blender directory to blender exec
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-01-25 20:24:44 -03:00
ProgrammerOnCoffee
0e7de3a1d9
Fix incorrect CPUParticles2D documentation
Fixes incorrect documentation for CPUParticles2D.color_initial_ramp
2025-01-25 12:18:42 +01:00
Thaddeus Crews
a7363946b2
Merge pull request #101911 from rburing/fti_2d_particles_on_target
`CPUParticles2D` - Add ability to follow physics interpolated target
2025-01-24 09:05:40 -06:00
Ricardo Buring
56fc0fd175 CPUParticles2D - Add ability to follow physics interpolated target
Allows a non-interpolated particle system to closely follow an interpolated target without tracking ahead of the target, by performing fixed timestep interpolation on the particle system global transform, and using this for emission.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2025-01-24 14:13:20 +01:00
Thaddeus Crews
d4dafee53c
Merge pull request #101856 from Calinou/doc-cubemap-templates-fix-urls
Fix URLs for Cubemap template images in documentation
2025-01-22 16:32:22 -06:00
Hugo Locurcio
57700b0563
Make EditorSpinSlider display a slider for floats with a step of 1.0
Integers still don't display a slider (and use up/down arrows instead),
so that they can be quickly distinguished from floats in the inspector.

However, this now makes floats with a step of 1.0 look different
from integers in the inspector.
2025-01-22 23:03:01 +01:00
bruvzg
8ddd4985ea [Editor] Add editor setting to globally override project game mode settings. 2025-01-22 17:39:56 +02:00
Thaddeus Crews
9a2ab8514e
Merge pull request #101810 from BattyBovine/collision-polygon-3d-debug-colours
Add debug colours and fills to CollisionPolygon3D.
2025-01-21 11:55:29 -06:00
BattyBovine
a3ef9de6a8 Add debug colours and fills to CollisionPolygon3D.
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes #101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes #101413.
2025-01-20 18:27:05 -05:00
Hugo Locurcio
be7a6d2a9f
Fix URLs for Cubemap template images in documentation 2025-01-20 23:15:45 +01:00
Hugo Locurcio
9030f76984
Fix Jolt note in WorldBoundaryShape3D documentation
The dimensions are around the shape's origin, not the world origin (i.e.
`(0, 0, 0)` in global coordinates).
2025-01-20 14:52:56 +01:00
Yelloween
409c9ad235 Update SubViewport documentations to include a note about input behaviour 2025-01-20 11:35:32 +03:00
DinkeyKing
386b1e04c8 Fix collision normal being referred to as surface 2025-01-18 13:53:41 +01:00
Lars Pettersson
ff39adddd1
Prevent tooltip from showing when hovering past end of script line 2025-01-18 00:02:06 +01:00
Thaddeus Crews
02ea1f84ae
Merge pull request #101623 from tom-schultz/patch-1
Clarify the impact of "Normal Map (RG Channels)" on texture imports.
2025-01-17 10:16:51 -06:00
Thaddeus Crews
9875cb6c95
Merge pull request #101652 from TokageItLab/gravity-doc-springbone
Clarify `SpringBoneSimulator3D`'s gravity units and improve documentation
2025-01-17 10:16:49 -06:00
Thaddeus Crews
923eb44c6f
Merge pull request #101617 from paddy-exe/processmaterial-vs-shadermaterial
Fix `emission_shape_changed` signal error when using ShaderMaterial with GPUParticles3D
2025-01-17 10:16:48 -06:00
Thaddeus Crews
49481c12bc
Merge pull request #98792 from MJacred/fix_remove_joy_mapping
Fix `Input::remove_joy_mapping`
2025-01-17 10:16:44 -06:00
Patrick Exner
484d6d4aa1 Fix emission_shape_changed signal error when using ShaderMaterial with 3DGPUParticles 2025-01-17 15:07:28 +01:00
Thaddeus Crews
ec85334a84
Merge pull request #90425 from tracefree/load-pack-fix
Fix "res://" being replaced by resource packs in the editor and on Android
2025-01-16 17:18:02 -06:00
Thaddeus Crews
679075b414
Merge pull request #101108 from Calinou/doc-worldboundaryshape3d-finite-size
Document WorldBoundaryShape3D having a finite size when using Jolt Physics
2025-01-16 17:17:58 -06:00
Thaddeus Crews
ad4eeaca5e
Merge pull request #101556 from maidopi-usagi/notifier_doc
Fix `visibility_notifier_create` documentation
2025-01-16 17:17:56 -06:00
Thaddeus Crews
b6203da3ae
Merge pull request #101620 from Yelloween10/fix-modifier-doc
Update `InputEventWithModifiers` documentation for modifier key behaviour
2025-01-16 17:17:54 -06:00
Thaddeus Crews
464253e235
Merge pull request #101571 from TokageItLab/validate-rotation-axis-spring-bone
Add validation for rotation axis to SpringBoneSimulator3D
2025-01-16 17:17:50 -06:00
Silc Lizard (Tokage) Renew
8eb5443d0a Clarify SpringBone's gravity unit and improve documentation 2025-01-17 07:02:54 +09:00
Tom Schultz
220cf87730
Clarifying the impact of "Normal Map (RG Channels)" on texture imports. 2025-01-15 20:57:04 -05:00
Yelloween
6f920772ba Update documentation for modifier key behaviour 2025-01-16 04:11:30 +03:00
Rie
d17ce4c37e Fix "res://" being replaced by resource packs in the editor and on Android 2025-01-15 11:20:46 +01:00
Silc Lizard (Tokage) Renew
48e74af421 Add validation for rotation axis to SpringBoneSimulator3D 2025-01-15 18:29:30 +09:00
Mateus Elias
11e111bca4 Add a note to DisplayServer.get_display_safe_area() method documentation
Add a note to clarify that the DisplayServer.get_display_safe_area() method is currently only implemented on Android and iOS, and that it returns screen_get_usable_rect(SCREEN_OF_MAIN_WINDOW) as a fallback on other platforms.
2025-01-14 22:29:54 -03:00
Hugo Locurcio
e668188c64 Document WorldBoundaryShape3D having a finite size when using Jolt Physics
This also mentions Jolt Physics in the ProjectSettings 3D physics engine
documentation.
2025-01-14 22:21:11 +01:00
MaidOpi
4a8f63cf84 Correct visibility_notifier_create's documentation. 2025-01-15 03:44:09 +08:00
Rémi Verschelde
f8724e41a0 Merge pull request #101538 from bruvzg/wdrag_ftr
[DisplayServer] Add missing `FEATURE_WINDOW_DRAG` flag to Windows, X11 and Wayland display servers.
2025-01-14 18:29:47 +01:00
Rémi Verschelde
67f54bd993 Merge pull request #101531 from akien-mga/scene-import-remove-unused-_get_import_flags
Remove unused `EditorSceneFormatImporter::_get_import_flags`
2025-01-14 18:29:40 +01:00
Rémi Verschelde
1e1f54e954 Merge pull request #100050 from YeldhamDev/sub_emitter_at_start
Add "At Start" mode for sub-emitter particles
2025-01-14 18:29:20 +01:00
Rémi Verschelde
21fcb56547 Remove unused EditorSceneFormatImporter::_get_import_flags
This has never been used since Godot was open sourced.

Import flags are used but directly through `_import_scene`.
2025-01-14 16:57:06 +01:00
Rémi Verschelde
a69ccee151 Merge pull request #101505 from smix8/region_bounds
Add functions to get axis-aligned bounds of navigation regions
2025-01-14 15:06:06 +01:00
Rémi Verschelde
4d1cfc1784 Merge pull request #101061 from syntaxerror247/first-pr-2025
Android: Implement support for `native dialog`
2025-01-14 15:05:59 +01:00
Rémi Verschelde
85b066aa78 Merge pull request #99455 from Bonkahe/IndirectMultimeshImplementation
Add indirect draw functionality to `MultiMesh`
2025-01-14 15:05:42 +01:00
Pāvels Nadtočajevs
2e99d84e87 [DisplayServer] Add missing FEATURE_WINDOW_DRAG flag to Windows, X11 and Wayland display servers. 2025-01-14 15:26:32 +02:00
MJacred
8e75fae49e Ue an array removed_idx 2025-01-14 12:09:16 +01:00
Rémi Verschelde
dde7a9407a Merge pull request #101525 from TokageItLab/fix-shifted-joint-spring-bone
Fix shifted joint radius index in SpringBone gizmo and remove unused `end_bone_tip_radius` property
2025-01-14 12:09:16 +01:00
Anish Mishra
cb9ee099ac Android: Implement support for native dialog
This adds support for DisplayServer::dialog_show() on Android, aligning it with the functionality already available on macOS and Windows.
2025-01-14 15:03:14 +05:30
Silc Lizard (Tokage) Renew
7b3d14fbcd Fix shifted joint radius index in SpringBone gizmo/remove unused tips 2025-01-14 16:27:59 +09:00
thimenesup
3d92f406b2 Implement Buffer Device Address for Rendering Device Vulkan and DirectX12 2025-01-13 22:43:29 -08:00
Rémi Verschelde
b3a44e8d51 Merge pull request #101511 from QbieShay/qbe/particle_req_proc_doc
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Add documentation to `particles_request_process_time`
2025-01-14 00:22:25 +01:00
Rémi Verschelde
f8dc6a0afe Merge pull request #101482 from bruvzg/rtl_expand_control
[RTL] Add cell option to control if cell is shrinked to its contents width.
2025-01-14 00:22:18 +01:00
Rémi Verschelde
2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
Qbieshay
4e52ba63af Added documentation to particles_request_process_time 2025-01-13 22:49:55 +01:00
David House
e6daec9cf8 Added indirect drawing functionality to MultiMesh
Update doc/classes/RenderingServer.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2025-01-13 14:51:51 -06:00
Lyuma
e4de1f4583 Make EditorSceneFormatImporter::_get_import_options match EditorScenePostImportPlugin API 2025-01-13 21:45:53 +01:00
Silc Lizard (Tokage) Renew
5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
Pāvels Nadtočajevs
b983b9d9f4 [RTL] Add cell option to control if cell is shrinked to its contents width. 2025-01-13 21:44:06 +02:00
Rémi Verschelde
232ab3df8d Merge pull request #101488 from chocola-mint/fix-11317
Add `has_custom_data()` to TileData
2025-01-13 20:22:44 +01:00
Rémi Verschelde
20c09d2c94 Merge pull request #100697 from arkology/texture-progress-radial-stretching
Tweak `TextureProgressBar` `NOTIFICATION_DRAW` to support 9-patch stretch in radial modes
2025-01-13 20:21:48 +01:00
Rémi Verschelde
133db1fd60 Merge pull request #92089 from QbieShay/qbe/particle_seek
Implement particle seek request and seed options.
2025-01-13 20:21:28 +01:00
smix8
a7520fca6a Add functions to get axis-aligned bounds of navigation regions
Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
2025-01-13 20:18:33 +01:00
chocola-mint
f434c75dbf Add has_custom_data() to TileData 2025-01-13 21:25:49 +09:00
arkology
c46c3ddf37 Tweak TextureProgressBar NOTIFICATION_DRAW to support 9-patch stretch in radial modes
1) Code is splitted into 3 sections:
- draw `under` texture;
- draw `progress` texture + draw radial modes reference cross;
- draw `over` texture.
Each draw texture section handles nine-patch stretching. Except for the progress texture in radial modes, which does not support nine-patch stretching.
2) The reference cross position now is not misaligned to real center position (`floor()` call removed).
3) The reference cross drawing code is additionally surrounded by `TOOLS_ENABLED` check.
2025-01-12 21:41:54 +03:00
Rémi Verschelde
3865598c84 Merge pull request #101419 from DubiousDuck/thumb-doc-fix
Fix SkeletonProfileHumanoid documentation error
2025-01-11 22:30:13 +01:00
Rémi Verschelde
3a8fe456a5 Merge pull request #101383 from WhalesState/color-picker-wheel
Add `ColorPicker` cursor background and reuse the cursor for wheel.
2025-01-11 22:30:00 +01:00
Rémi Verschelde
956e2b1769 Merge pull request #101373 from jburt137/patch-1
Clarify expected types in `RayCast3D` documentation
2025-01-11 22:29:56 +01:00
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
Rémi Verschelde
76c8e76560 Merge pull request #101284 from akx/tyops
A handful of typo fixes
2025-01-08 15:53:33 +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