Commit Graph

3414 Commits

Author SHA1 Message Date
Rémi Verschelde 16ad014dd3
Merge pull request #67040 from Calinou/xdg-paths-linux-only-3.x
Only support XDG directory path configuration on Linux (3.x)
2022-12-12 12:27:56 +01:00
Hugo Locurcio 06c266f231
Only support XDG directory path configuration on Linux
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:13:19 +01:00
Hugo Locurcio 4475a93736
Document debanding only affecting 3D rendering by default 2022-12-12 11:01:26 +01:00
Steve Cotton 8770197731 doc: link GPUParticles2D to the 2D Particles demo
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.

(cherry picked from commit 6db9752f23)
2022-12-12 14:06:49 +08:00
Haoyu Qiu dd1c96b547 Add note about GROUP_CALL_UNIQUE not considering arguments
(cherry picked from commit 3f2d6f5f6c)
2022-12-12 13:57:28 +08:00
Hugo Locurcio 5115db63aa
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 20:04:56 +01:00
Hugo Locurcio 9a0a9bbaec Document `Array.sort()` and `sort_custom()` using unstable sorting
(cherry picked from commit 85b617a6a3)
2022-12-04 20:12:27 +08:00
Zak Grumbles aa8c63f8af Add note regarding RefCounted to EditorScript docs
(cherry picked from commit e5dc2ed982)
2022-12-04 20:06:18 +08:00
kobewi 2f13adbdb6 Remove error condition from get_global_transform()
(cherry picked from commit 2ff676a696)
2022-12-01 11:47:52 +08:00
Haoyu Qiu 21856280fa Describe the left mouse button constant as the primary button
(cherry picked from commit f6e9565bdc)
2022-12-01 11:38:54 +08:00
streq a001932790 clarify [member polygons] functionality in the Polygon2D class documentation
(cherry picked from commit de66acc624)
2022-12-01 10:41:59 +08:00
Lyuma 099e90e00d Make Node editable_instance methods available to GDScript
(cherry picked from commit 7eb6ae2798)
2022-12-01 10:15:06 +08:00
Rémi Verschelde 7f0b3bc2a0 Add editor setting for AcceptDialog OK/Cancel buttons positioning
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.

Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.

Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).

Fixes #59379.

(cherry picked from commit 9bb05de89f)
2022-12-01 09:50:51 +08:00
Ev1lbl0w 6d030f93b7
Document PopupMenu id behavior
(cherry picked from commit b8aa5ebfeb)
2022-11-30 15:44:05 +01:00
voidshine 7284230ebe
Fix MIDI note-on events being converted to note-off events
Update documentation with note about MIDI velocity interpretation

(cherry picked from commit f0f72b3132)
2022-11-30 15:36:03 +01:00
Fireflash 239b2e4bbc
Update AudioStreamGeneratorPlayback.xml
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132), the `get_frames_available` method should return the space remaining in the sample buffer.

(cherry picked from commit 7823ca1367)
2022-11-30 15:05:26 +01:00
Nonunknown eb5b297fef
add ability to pick random value from array
(cherry picked from commit 9f4dbf415d)

Co-authored-by: BleedingXiko <66162192+BleedingXiko@users.noreply.github.com>
2022-11-14 19:11:41 +01:00
Rémi Verschelde d80396db03
Merge pull request #68556 from 98teg/flow-container-alignment
Add alignment options to flow container
2022-11-14 14:35:46 +01:00
Rémi Verschelde 322bfec275
Merge pull request #68384 from cheece/expose_get_transform_for_eye
expose ARVRInterface::get_transform_for_eye to gdscript
2022-11-14 14:35:39 +01:00
Teggy 5d0c29460a Add alignment options to flow container 2022-11-12 12:11:16 +01:00
avemort 872e36b8f9 expose ARVRInterface::get_transform_for_eye to gdscript 2022-11-10 15:25:07 -03:00
Hugo Locurcio d17d6d6cc4
Document (Omni/Spot)Light ignoring Spatial's scale property 2022-11-09 18:47:09 +01:00
Rémi Verschelde 92aedd5063
Merge pull request #68190 from ztc0611/3.x-ios-promotion
[3.x] Add ProMotion/High Refresh Rate Support to iOS Exports
2022-11-03 11:34:22 +01:00
Zach Coleman e538771d4f [3.x] Add ProMotion Support to iOS Exports 2022-11-02 22:14:34 -04:00
Zach Coleman 5e7b0e3a61 [3.x] Add iOS UI Options 2022-11-02 22:13:18 -04:00
Rémi Verschelde 8f7508ca4d
Merge pull request #68167 from kleonc/shape-cast-get-collider-rid-3x
[3.x] Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-02 23:01:45 +01:00
kleonc 3e373c4eec Add `ShapeCast2D/3D::get_collider_rid` method 2022-11-02 15:20:13 +01:00
kleonc 5f01413774 Docs Clarify Array.fill behavior when reference type is passed in 2022-10-31 17:12:44 +01:00
Matthew eb0b5d38d1
Merge pull request #67649 from Calinou/doc-cylindershape3d-bugs-3.x
Document known issues with CylinderShape (3.x)
2022-10-31 11:47:48 -04:00
Rémi Verschelde 64635af7ff
Merge pull request #67360 from jordo/PR-expose-property-hints
expose additional global enums in 3.x which are available in master
2022-10-31 12:25:04 +01:00
Rémi Verschelde 20ce0284cf
Merge pull request #67313 from Mickeon/3.x-rename-params
[3.x] Rename `set_indexed` & `get_child`'s params to be clearer
2022-10-31 12:24:58 +01:00
Fredia Huya-Kouadio be4b07c3e4 Add `double_tap` attribute to `InputEventScreenTouch`
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-20 11:56:11 -07:00
Hugo Locurcio 14391ef344
Document known issues with CylinderShape 2022-10-19 23:48:41 +02:00
Jordan Schidlowsky dc5226ecfd expose additional global enums in 3.x which are available in master 2022-10-14 09:33:24 -06:00
Michael Alexsander 6059cf2594 Expose various color themes for `Button` 2022-10-12 18:19:52 -03:00
Micky 6102f3cfc2 [3.x] Rename `set_indexed` & `get_child`'s params to be clearer
3.x backport of #67300 and #64463.
2022-10-12 20:55:41 +02:00
Haoyu Qiu 456c0ecda6 Remove leading spaces from enumerator name hints 2022-10-08 15:23:46 +08:00
Rémi Verschelde ec21ac518a Merge pull request #66971 from timothyqiu/obstacles-pathfinding-3.x
[3.x] Make it clear that obstacles don't affect pathfinding
2022-10-06 17:37:21 +02:00
Haoyu Qiu 1100f217d7 Make it clear that obstacles don't affect pathfinding 2022-10-06 16:08:06 +08:00
Haoyu Qiu 78ea140bb3 Improve StaticBody description 2022-10-06 15:08:16 +08:00
Rémi Verschelde 07f7d6ab73 Merge pull request #64896 from Calinou/doc-editorsettings-3.x
Document editor settings in the class reference
2022-10-05 17:07:56 +02:00
Matthew d81a253f9f
Merge pull request #66855 from Jantho1990/bugfix/update-control-focus-signal-documentation-3.x
update messaging for focus to be less keyboard-specific (3.x)
2022-10-04 17:23:45 -04:00
Rémi Verschelde b3301d22c5 Merge pull request #66168 from Calinou/expose-os-restart-on-exit-3.x
Expose the "restart on exit" OS functionality (3.x)
2022-10-04 16:57:43 +02:00
Josh Anthony e8c92fc7b5 update messaging for focus to be less keyboard-specific
address comments

Put back missing keyboard tags, fix language to match master's version.

match suggested commits from master
2022-10-04 08:55:11 -05:00
Hugo Locurcio b84b003bc3
Document editor settings in the class reference 2022-10-04 00:43:07 +02:00
smix8 f15cb16b14 Fix avoidance calculation on NO_THREADS build 2022-10-03 13:39:48 +02:00
Hugo Locurcio 811f814f45
Document Mesh vertex color compression clamping overbright/HDR colors 2022-09-21 20:30:04 +02:00
Rémi Verschelde 6a600b1acd
Merge pull request #66153 from rburing/concave_area_docs_3.x 2022-09-21 13:34:43 +02:00
Hugo Locurcio 76a14cfd02
Expose the "restart on exit" OS functionality
This can be used to restart a project with specific command line arguments
applied. This can work in tandem with `OS.get_cmdline_args()` to restart
with the same command line arguments as used to originally run the project.

Example use cases:

- Restart to apply an user setting change that requires a restart to work.
- Restart with a Godot command line argument to change the video driver,
  audio driver, etc.
2022-09-20 17:27:46 +02:00
Ricardo Buring be5d18163d Document behavior of areas with concave shapes 2022-09-20 11:58:27 +02:00