Commit graph

10127 commits

Author SHA1 Message Date
Lucas Clemente Vella
40813b68f0
Improve docs on how ParallaxLayer mirroring works.
I wrote everything I wish was written when I tried to make an
infinite scrolling background, addressing every point of every
mistake I made.
2024-02-14 13:07:46 +01:00
Silc Lizard (Tokage) Renew
dc4b7bc364 Add option to silence some warnings in AnimationMixer caching 2024-02-14 14:48:02 +09:00
Rémi Verschelde
afc49e52e4
Merge pull request #88130 from AlekseyKapustyanenko/Rotary_Input
Add rotary input support for Android platform
2024-02-13 23:43:33 +01:00
Rémi Verschelde
3252995b41
Merge pull request #88088 from bruvzg/img_font_more
[Font] Allow overriding advances, offsets and kerning in the ImageFont import settings.
2024-02-13 23:43:29 +01:00
Rémi Verschelde
b6dee8850b
Merge pull request #87384 from bruvzg/sys_base_color
Add method to get "base" system UI color and system theme change callback.
2024-02-13 23:43:21 +01:00
Rémi Verschelde
921b656f33
Merge pull request #86781 from KoBeWi/scenes_that_are_no_longer_with_us
Allow opening scenes with missing scene dependency
2024-02-13 23:43:14 +01:00
kobewi
be4cbee873 Allow opening scenes with missing scene dependency 2024-02-13 19:46:35 +01:00
ALEKSEY KAPUSTYANENKO
d5c2a641f0 Add rotary input support. Fix documentation 2024-02-13 21:12:59 +04:00
bruvzg
42ec133dbe
[Font] Allow overriding advances, offsets and kerning in the ImageFont import settings. Fix bitmap font kerning override. 2024-02-13 18:49:47 +02:00
bruvzg
ee53ae28df
Add method to get "base" system UI color (macOS/Windows) and system theme change callback. 2024-02-13 18:38:53 +02:00
bruvzg
deffe6a3be
[macOS] Add support for native help menu search callbacks, integrate editor help. 2024-02-13 18:37:37 +02:00
Rémi Verschelde
ace0aeaf4f
Merge pull request #88265 from Calinou/tree-fix-recursive-expand-collapse-shortcuts
Fix recursive Tree expand/collapse shortcuts not working
2024-02-13 17:24:25 +01:00
Rémi Verschelde
48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
Rémi Verschelde
5ae4faf555
Merge pull request #86958 from Mickeon/reduz-adds-stuff,-refuses-to-elaborate,-leaves
Add missing documentation for AudioStream & AudioStreamPlayback
2024-02-13 17:23:34 +01:00
Rémi Verschelde
cc623af6cb
Merge pull request #86872 from Mickeon/documentation-sprite-3d-notes
Add a few notes to Sprite3D's documentation
2024-02-13 17:23:19 +01:00
Rémi Verschelde
7069b3d351
Merge pull request #80211 from bruvzg/status_ind
Implement support for application status indicators (tray icons).
2024-02-13 17:22:55 +01:00
Rémi Verschelde
b9a07ad341
Merge pull request #80183 from Mickeon/doc-peeves-noodlespath
Overhaul NodePath documentation
2024-02-13 17:22:51 +01:00
bruvzg
8da36031e4
Implement support for application status indicators (tray icons). 2024-02-13 15:59:35 +02:00
Rémi Verschelde
3834fb432e
Merge pull request #87145 from AThousandShips/atlas_fix_size
Allow configuring the maximum width for atlas import
2024-02-13 11:24:54 +01:00
Erik Johnson
eab95698cd
Fix shadows for billboarded Sprite3D's 2024-02-13 10:36:38 +01:00
A Thousand Ships
8b3c12d8df
Allow configuring the maximum width for atlas import 2024-02-13 10:30:44 +01:00
Hugo Locurcio
6de0eca6c1
Fix recursive Tree expand/collapse shortcuts not working
This also moves them to use Shift instead of Alt, as was already
done for mouse interactions.

Shortcuts in Tree were also made non-exact matches so they still
work if modifiers are held. This is important for up/down
shortcuts, especially once support for selecting with
Shift + up/down is implemented.
2024-02-13 02:30:48 +01:00
Rémi Verschelde
3be3d5099c
Merge pull request #87340 from DarioSamo/rd_common_context
Finish splitting functionality of the `RenderingDevice` backends into `RenderingDeviceDriver`.
2024-02-12 23:29:32 +01:00
Rémi Verschelde
c66f87daa7
Merge pull request #87175 from Mickeon/doc-peeves-basis-based-on-what
Overhaul Basis' documentation
2024-02-12 23:29:27 +01:00
Dario
73eff10c76 Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
Rémi Verschelde
08b4dddf4c
Merge pull request #88106 from Calinou/editor-dev-build-show-update-spinner
Show update spinner by default in `dev_build=yes` editor builds
2024-02-12 13:34:38 +01:00
Rémi Verschelde
24bd30716e
Merge pull request #87959 from Scony/fix-navi-sync-errors
Add means for fixing navmap synchronization errors
2024-02-12 13:34:30 +01:00
Rémi Verschelde
687f840354
Merge pull request #87379 from groud/change_tilemap_editor_to_tilemaplayer_editor
Change TileMapEditor to TileMapLayerEditor
2024-02-12 13:34:04 +01:00
Rémi Verschelde
679fa26a99
Merge pull request #86903 from Mickeon/Post-merge-fixes-to-Node-documentation
Post-merge fixes to Node & OS documentation
2024-02-12 13:33:47 +01:00
Rémi Verschelde
9b189d24fe
Merge pull request #86715 from TokageItLab/revive-capture
Add `AnimationMixer::capture()` and `AnimationPlayer::play_with_capture()` as substitute of update mode capture
2024-02-12 13:33:39 +01:00
Rémi Verschelde
62fcc7e5d3
Merge pull request #78990 from RedMser/class-reference-keywords
Add search keywords to the class reference
2024-02-12 13:33:12 +01:00
Rémi Verschelde
2b36dcf70a
Merge pull request #75688 from mnemoli/pickone
Add setting for picking only top-most overlapping collision object
2024-02-12 13:33:08 +01:00
Gilles Roudière
5a999d67ec Change TileMapEditor to TileMapLayerEditor 2024-02-12 10:11:45 +01:00
Silc Lizard (Tokage) Renew
85d66cb4e8 Add capture() and play_with_capture() as substitute of update capture 2024-02-12 17:02:05 +09:00
Pawel Lampe
9ea8d4fa38 Add means for fixing navmap synchronization errors 2024-02-11 21:06:47 +01:00
Micky
e26f612f38 Post-merge fixes to Node & OS documentation 2024-02-11 16:44:24 +01:00
Hugo Locurcio
7e25292205
Show update spinner by default in dev_build=yes editor builds
This ensures contributors can see when something forces the
editor to redraw constantly.

The existing boolean `true` value will be casted to `1` in the setting,
so it'll switch to Enabled automatically if the setting was previously
enabled.
2024-02-10 00:45:56 +01:00
RedMser
5911a12db1 Update class reference to include some keywords
More should be added in future PRs, wherever there is demand.
2024-02-09 18:13:23 +01:00
RedMser
db798b29b2 Add keywords to the class reference
Allows for finding methods, properties, signals, constants,
theme items and annotations more easily.

- Allow "keywords" attribute in aforementioned locations
  in the class reference XMLs
- Extends doctool, to preserve these attributes
- Update the XSD schema for the class reference
- Update the RST generator to include a meta tag for class keywords
- Update the editor help to support filtering by keywords
2024-02-09 18:13:23 +01:00
Rémi Verschelde
b604a0516e
Merge pull request #82950 from thygrrr/physics-damping-redocumentation
Rewrite docs for physics damping project settings
2024-02-09 18:09:00 +01:00
Rémi Verschelde
74b03edf1e
Merge pull request #82800 from Sauermann/fix-screen-mousemotion
Add screen-related attributes to mouse input events
2024-02-09 18:08:58 +01:00
Tiger Jove
7d9f6da8e3
Rewrite docs for physics damping project settings
Signed-off-by: Tiger Jove <tiger@jupiter.blue>
2024-02-09 18:00:28 +01:00
Rémi Verschelde
158df3e7b9
Merge pull request #79815 from idbrii/patch-2
doc: Clarify when to construct a StringName ahead of time
2024-02-09 12:13:07 +01:00
David Briscoe
9cbc4026ee
doc: Clarify when to construct a StringName ahead of time
Fix docs don't give justification for manual construction.

Clarify how to apply manual StringName construction as an
optimization and that "string intern" means "work at parse time".

There are several godot-demo-projects (including 3d/platformer) that
incorrectly use StringName literals (they use & literals instead of just
passing strings), so clearly this is confusing.

AThousandShips did a disassembly test to prove it automatically converts
constant strings to StringName for annotated functions:

  func do_test(_var: StringName, _var2: String):
  pass

  func test():
  do_test("abc", "def")

Yields:

  Disassembling do_test(_var, _var2)
   0: line 2:     pass
   2: == END ==

  Disassembling test()
   0: line 5:     do_test("abc", "def")
   2: call self.do_test(const(&"abc"), const("def"))
   10: assign stack(3) = false
   12: == END ==

It also happens with built-in functions such as those of Input.
2024-02-09 12:08:12 +01:00
RedMser
bf37a9bac6 Allow configuration warnings to refer to a property
This is used by the inspector so it can show a warning icon on
a specific property.
2024-02-08 23:05:20 +01:00
Rémi Verschelde
fd6f6a05bf
Merge pull request #82376 from MewPurPur/add-missing-docs
Document worker thread pool project settings and `TreeItem.uncollapse_tree()`
2024-02-08 13:45:50 +01:00
Rémi Verschelde
e10a99f262
Merge pull request #88040 from Calinou/doc-projectsettings-initial-position
Document initial position project settings not affecting run from editor
2024-02-08 10:54:03 +01:00
Rémi Verschelde
f8020d1364
Merge pull request #88026 from Calinou/editor-default-enable-add-type-hints
Enable Add Type Hints editor setting by default
2024-02-08 10:53:58 +01:00
Rémi Verschelde
eaef76a06f
Merge pull request #87768 from DevPoodle/rasterization-state
Add descriptions to the remaining properties of RDPipelineRasterizationState
2024-02-08 10:53:45 +01:00
Rémi Verschelde
9484a3776b
Merge pull request #87583 from milkiq/master
Modify display and documentation of attenuation for Light3D
2024-02-08 10:53:40 +01:00
Rémi Verschelde
261952a4c7
Merge pull request #87378 from smix8/navmesh_bordersize
Add NavigationMesh `border_size` property for tile baking
2024-02-08 10:53:30 +01:00
Rémi Verschelde
163c00eb4d
Merge pull request #81655 from nlupugla/editor-interface-can-popup-dialogs
Expose `SceneTreeDialog` and `PropertySelector` via `EditorInterface`
2024-02-08 10:53:13 +01:00
Rémi Verschelde
b98c2f23da
Merge pull request #48364 from Calinou/add-vsync-editor-setting
Add a V-Sync editor setting
2024-02-08 10:52:59 +01:00
Hugo Locurcio
d3df15f823
Document initial position project settings not affecting run from editor 2024-02-07 18:25:25 +01:00
Rémi Verschelde
99f2ec862c
Merge pull request #87985 from allenwp/docs-8906-color-16-bit
Fix docs for Color class regarding bits per component.
2024-02-07 11:03:38 +01:00
Rémi Verschelde
011ed23ed2
Merge pull request #87983 from Calinou/doc-os-execute-android
Document `OS.execute()` limitations on Android
2024-02-07 11:02:52 +01:00
Rémi Verschelde
8daa633d0d
Merge pull request #87961 from smix8/navmesh2d_bordersize
Add NavigationPolygon `border_size` property for tile baking
2024-02-07 11:01:42 +01:00
Rémi Verschelde
251d5b3669
Merge pull request #87715 from Scony/add-is-baking
Expose `is_baking` method in navigation servers and region nodes.
2024-02-07 10:58:27 +01:00
Hugo Locurcio
345f09d125
Enable Add Type Hints editor setting by default
Now that GDScript type hints improve performance since Godot 4.0
and the community is increasingly getting used to typed GDScript,
it makes sense to add type hints by default.

Official demos will also be moving to type hints at some point
in the future, further increasing the relevance of enabling type
hints out of the box.
2024-02-06 19:41:26 +01:00
milkiq
cf453ae8d9 Modify display and documentation of attenuation for Light3D 2024-02-06 12:41:30 +08:00
Markus Sauermann
2235a1cbd0 Add screen-related attributes to mouse input events 2024-02-05 23:30:15 +01:00
Hugo Locurcio
6f9586443a
Add a V-Sync editor setting
The editor setting makes it possible to tweak V-Sync status
independently of the project setting.

Use cases:

- Decrease input lag and increase editor responsiveness when editing
  a project that has V-Sync enabled.
- Avoid tearing when editing a project that has V-Sync disabled.
2024-02-05 22:14:20 +01:00
Pawel Lampe
c2cfc0d409 Expose is_baking method in navigation servers and region nodes. 2024-02-05 22:04:22 +01:00
Hugo Locurcio
d94ee14123
Document OS.execute() limitations on Android 2024-02-05 20:17:24 +01:00
Allen Pestaluky
0e977e087c Fix docs for Color class regarding bits per component.
This fixes godot-docs#8906 ( https://github.com/godotengine/godot-docs/issues/8906 )
2024-02-05 12:55:58 -05:00
Rémi Verschelde
01fd96e19d
Merge pull request #87951 from AThousandShips/doc_link_fix
Fix inverted link in docs
2024-02-05 14:54:33 +01:00
Rémi Verschelde
8631f68509
Merge pull request #87928 from 31/dev/31/call-deferred-cs
Add `Callable` `call_deferred()` C# example
2024-02-05 14:52:14 +01:00
Rémi Verschelde
fbd203401b
Merge pull request #87881 from smix8/height_min_max_helpers
Add HeightMapShape3D functions to get min / max height
2024-02-05 14:51:02 +01:00
Rémi Verschelde
acde2a81ff
Merge pull request #84640 from aaronfranke/gravity-get
Expose a method to get gravity for any physics body
2024-02-05 14:48:31 +01:00
Zach Coleman
fc7a63cbf3 Enhance mobile suspend MainLoop Notifications 2024-02-04 21:10:06 -05:00
smix8
085bc9504b Add NavigationPolygon border_size property for tile baking
Adds NavigationPolygon border_size property for tile baking. Also adds baking Rect2 bounds.
2024-02-05 00:38:28 +01:00
A Thousand Ships
17000bf8c3
Fix inverted link in docs
Title and url were swapped
2024-02-04 18:31:09 +01:00
31
0a9715d6b5 Add Callable call_deferred() C# example 2024-02-03 20:49:05 -08:00
smix8
0a485fc30a Add HeightMapShape3D functions to get min / max height
Adds HeightMapShape3D functions to get min / max height.
2024-02-04 01:23:30 +01:00
Rémi Verschelde
c341d9704c
Merge pull request #87913 from OverloadedOrama/docs-feature-native-dialog
Minor fix in DisplayServer docs to include Linux & Windows in `FEATURE_NATIVE_DIALOG`
2024-02-03 23:22:58 +01:00
Rémi Verschelde
22d402e23d
Merge pull request #87863 from EterDelta/reload-notification
Expose `NOTIFICATION_EXTENSION_RELOADED` to `ClassDB`
2024-02-03 23:20:14 +01:00
Rémi Verschelde
673f1614c4
Merge pull request #87630 from dsnopek/openxr-passthrough-from-gdextension
OpenXR: Allow moving vendor passthrough extensions to GDExtension
2024-02-03 23:19:24 +01:00
Emmanouil Papadeas
2ba6066d5d Minor fix in DisplayServer.xml to include Linux & Windows in FEATURE_NATIVE_DIALOG 2024-02-03 21:36:02 +02:00
David Snopek
e74a0f4b09 OpenXR: Allow moving vendor passthrough extensions to GDExtension 2024-02-03 12:40:41 -06:00
EterDelta
fee70558f8 Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB 2024-02-02 14:57:00 -05:00
Rémi Verschelde
10e111477d
Merge pull request #87856 from bruvzg/transpbg
Automatically set viewport background to transparent when window flag is set.
2024-02-02 12:06:29 +01:00
Rémi Verschelde
fb5f34a75a
Merge pull request #87745 from dsnopek/openxr-change-reference-space
OpenXR: Allow changing play area mode during active session
2024-02-02 12:03:09 +01:00
Rémi Verschelde
88df5b871f
Merge pull request #87318 from ckaiser/feature/indeterminate_progressbar
Add indeterminate mode to ProgressBar
2024-02-02 12:02:19 +01:00
Rémi Verschelde
0858c4ecbc
Merge pull request #82889 from ershn/improve_process_mode_api_documentation
Improve Node's documentation on `process_mode` related members/methods
2024-02-02 12:00:35 +01:00
Rémi Verschelde
58ffe0958a
Merge pull request #74195 from TheSecondReal0/flow-top-to-bottom
Add option to reverse FlowContainer fill direction (HFlow bottom-to-top, VFlow right-to-left)
2024-02-02 12:00:07 +01:00
Rémi Verschelde
e0eccaeb60
i18n: Sync translations with Weblate
Still tracking 4.2 translations for now.

(cherry picked from commit 991454b8bd)
2024-02-02 11:38:01 +01:00
bruvzg
0d88aadd53
Automatically set viewport background to transparent when window flag is set. 2024-02-02 10:40:26 +02:00
TheSecondReal0
b8a7270567 Add option to reverse FlowContainer fill direction (HFlow bottom-to-top, VFlow right-to-left) 2024-02-01 10:41:31 -07:00
DevPoodle
3b8ef19689 Add descriptions to the remaining properties of RDPipelineRasterizationState 2024-01-31 19:27:41 -08:00
Christian Kaiser
c00bd0008a Add indeterminate mode to ProgressBar 2024-01-31 18:11:18 -03:00
David Snopek
5935bfa860 OpenXR: Allow changing play area mode during active session 2024-01-31 12:58:22 -06:00
Ershn
61872e47af Improve Node's documentation on process_mode related members/methods 2024-01-31 23:25:56 +09:00
Rémi Verschelde
f23fda39d3
Merge pull request #87776 from bruvzg/wl_nfd
[Wayland] Add support for native file dialogs.
2024-01-31 14:00:30 +01:00
bruvzg
edb21e0573
[Wayland] Add support for native file dialogs. 2024-01-31 14:13:19 +02:00
Rémi Verschelde
f8a039e9b5
Merge pull request #84745 from lawnjelly/lightcull
Shadow volume culling and tighter shadow caster culling
2024-01-31 11:13:19 +01:00
Rémi Verschelde
ad8b136a31
Merge pull request #87436 from Mickeon/doc-peeves-Timer-s-out
Tweak Timer documentation
2024-01-31 10:54:30 +01:00
Rémi Verschelde
eb105b9ae9
Merge pull request #87372 from Mickeon/documentation-SkeletonProfileHumanoid-bone-list
Document bone list for SkeletonProfileHumanoid
2024-01-31 10:53:43 +01:00
Micky
22421e134b Tweak Timer documentation 2024-01-31 09:40:05 +01:00
Aaron Franke
aed5ea9460
Expose a method to get gravity for any physics body 2024-01-30 23:57:38 -06:00
Hugo Locurcio
253ad63005
Clarify the FOV setting in the 3D editor camera is vertical FOV 2024-01-31 01:20:21 +01:00
Rémi Verschelde
0cce6eb150
Merge pull request #87443 from YuriSizov/pms-hotter-younger-cousin
Improve layout and UX of the project manager
2024-01-30 19:10:46 +01:00
Yuri Sizov
4d97c33503 Add a network mode setting to bring the editor offline
This PR also adds default font styles for RichTextLabels
in the editor, and improves the introduction dialog
when you don't have any local projects available.

The offline mode is implemented in the asset library
plugin, alongside some code improvements.
2024-01-30 17:52:08 +01:00
Rémi Verschelde
ba6ecf3e06
Merge pull request #87676 from Mickeon/oooh-Reduz-of-the-past-You're-so-quirky
Mention and deprecate InputEventJoypadButton's pressure
2024-01-30 17:48:02 +01:00
Rémi Verschelde
f390b86acd
Merge pull request #87194 from kitbdev/tab-deselect
Allow no tabs to be selected in TabBar and TabContainer
2024-01-30 17:47:54 +01:00
Riteo
7e0f7d3abd Add Wayland support
Not everything is yet implemented, either for Godot or personal
limitations (I don't have all hardware in the world). A brief list of
the most important issues follows:

- Single-window only: the `DisplayServer` API doesn't expose enough
information for properly creating XDG shell windows.

- Very dumb rendering loop: this is very complicated, just know that
the low consumption mode is forced to 2000 Hz and some clever hacks are
in place to overcome a specific Wayland limitation. This will be
improved to the extent possible both downstream and upstream.

- Features to implement yet: IME, touch input, native file dialog,
drawing tablet (commented out due to a refactor), screen recording.

- Mouse passthrough can't be implement through a poly API, we need a
rect-based one.

- The cursor doesn't yet support fractional scaling.

- Auto scale is rounded up when using fractional scaling as we don't
have a per-window scale query API (basically we need
`DisplayServer::window_get_scale`).

- Building with `x11=no wayland=yes opengl=yes openxr=yes` fails.

This also adds a new project property and editor setting for selecting the
default DisplayServer to start, to allow this backend to start first in
exported projects (X11 is still the default for now). The editor setting
always overrides the project setting.

Special thanks to Drew Devault, toger5, Sebastian Krzyszkowiak, Leandro
Benedet Garcia, Subhransu, Yury Zhuravlev and Mara Huldra.
2024-01-30 16:44:47 +01:00
lawnjelly
4577dfdb67 Shadow volume culling and tighter shadow caster culling
Existing shadow caster culling takes no account of the camera.
This PR adds the highly encapsulated class RenderingLightCuller which can cut down the casters in the shadow volume to only those which can cast shadows on the camera frustum.
2024-01-30 08:38:31 +00:00
Micky
25c0c95960 Mention and deprecate InputEventJoypadButton's pressure 2024-01-29 23:38:36 +01:00
kit
a6af442b05 Apply TextEdit IME on most actions 2024-01-29 15:07:19 -05:00
kit
6e965f6c83 Allow tab deselection 2024-01-29 14:30:34 -05:00
kobewi
0de8a736da Allow Node.create_tween() outside SceneTree 2024-01-29 20:18:43 +01:00
Rémi Verschelde
e59e58a68a
Merge pull request #87686 from radzo73/get_button_color
[TreeItem] Add `get_button_color()`
2024-01-29 13:18:05 +01:00
Rémi Verschelde
5c61803971
Merge pull request #87668 from bruvzg/add_baseline_offset
[TextServer / Font] Add support for customizable baseline offset.
2024-01-29 13:17:52 +01:00
Rémi Verschelde
a248e8c78d
Merge pull request #87502 from mihe/soft-body-bindings
Bind physics server methods related to `SoftBody3D`
2024-01-29 13:17:09 +01:00
Rémi Verschelde
68957d2944
Merge pull request #87445 from KoBeWi/expand_the_Control_empire
Clarify sizing of main screen plugins
2024-01-29 13:17:05 +01:00
Rémi Verschelde
ec08b323bf
Merge pull request #86927 from Mickeon/filling-docs
Fill the documentation of a few overlooked classes
2024-01-29 13:16:42 +01:00
Rémi Verschelde
c2968e497d
Merge pull request #86693 from Mickeon/doc-peeves-midiiiiii
Improve all documentation about MIDI support
2024-01-29 13:16:37 +01:00
Rémi Verschelde
6d1e51c23e
Merge pull request #86273 from DevPoodle/sampler-state-descriptions
Add descriptions to remaining properties of RDSamplerState
2024-01-29 13:16:28 +01:00
Rémi Verschelde
2a862a6f6c
Merge pull request #85503 from 20kdc/bone2d-fix-apply_rest-master
Fix the documentation of `Bone2D::apply_rest`
2024-01-29 13:16:19 +01:00
Rémi Verschelde
964de297e4
Merge pull request #85450 from KoBeWi/advanced_properties_for_every_Object
Improve documentation for dynamic properties
2024-01-29 13:16:12 +01:00
Rémi Verschelde
8febe50797
Merge pull request #85448 from mxaddict/master
Update `blender_path` behavior to require exact path to executable instead of trying to guess it
2024-01-29 13:16:05 +01:00
Rémi Verschelde
0796d08b8f
Merge pull request #84515 from Calinou/editor-multi-window-unavailable-disable-buttons
Disable multi-window buttons instead of hiding them when support is unavailable
2024-01-29 13:16:01 +01:00
Rémi Verschelde
f220d46cdc
Merge pull request #80231 from romlok/input-key-location
Support detecting and mapping ctrl/alt/shift/meta by their left/right physical location
2024-01-29 13:15:42 +01:00
radzo73
de5b0d7103 Add get_button_color(column, id)
Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
2024-01-28 19:09:20 -05:00
kobewi
c228e31a96 Clarify sizing of main screen plugins 2024-01-28 19:49:33 +01:00
20kdc
f16f8bf39b Fix the documentation of Bone2D::apply_rest (squashed)
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-01-28 13:37:11 +00:00
bruvzg
85df221610
[TextServer / Font] Add support for customizable baseline offset. 2024-01-28 13:26:49 +02:00
Hugo Locurcio
04a930d9a6
Disable multi-window buttons instead of hiding them when support is unavailable
This is more explicit as for why this functionality isn't available
depending on editor settings and current platform.

This also exposes a `EditorInterface.is_multi_window_enabled()` method
so that editor plugins can easily query whether the editor is able and
expected to create multiple windows.
2024-01-27 19:38:39 +01:00
Micky
8723d116c4 Overhaul documentation about MIDI support 2024-01-26 22:28:47 +01:00
mxaddict
ad106a283b Update blender_path behavior to require exact path to executable instead of trying to guess it 2024-01-27 00:41:53 +08:00
Mikael Hermansson
06f2f1ecbc Bind physics server methods related to SoftBody3D 2024-01-26 17:15:52 +01:00
Mel Collins
8406e60522 Add InputEventKey.location to tell left from right
This adds a new enum `KeyLocation` and associated property
`InputEventKey.location`, which indicates the left/right location of key
events which may come from one of two physical keys, eg. Shift, Ctrl.

It also adds simulation of missing Shift KEYUP events for Windows.
When multiple Shifts are held down at the same time, Windows natively
only sends a KEYUP for the last one to be released.
2024-01-26 14:42:28 +01:00
Micky
3bb336dfbd Mention Multiplayer.get_remote_sender_id's 0 after await 2024-01-26 12:30:50 +01:00
Rémi Verschelde
73419e645b
Merge pull request #87523 from skyace65/Minor-Doc-fixes
Fix several minor class reference issues
2024-01-26 11:47:01 +01:00
Rémi Verschelde
62c87dc83e
Merge pull request #87444 from Mickeon/documentation-XROrigin3D-tweaks
Tweak XROrigin3D documentation
2024-01-26 11:45:01 +01:00
Rémi Verschelde
1ce40ebb44
Merge pull request #87386 from clayjohn/GLES3-lightmap-bake
Add GLES3 infrastructure for lightmap baking in the compatibility backend
2024-01-26 11:44:37 +01:00
Yuri Sizov
474011ac06 Merge pull request #87543 from akien-mga/version-remove-year
Remove now unused `year` member from `version.py`
2024-01-25 16:27:21 +01:00
Yuri Sizov
68d5043e88 Merge pull request #87541 from clayjohn/TextureRD-property
Avoid saving the texture_rd_rid property of TextureRD resources
2024-01-25 16:27:17 +01:00
Yuri Sizov
672b034076 Merge pull request #87303 from bruvzg/fd_options_no_editor
[Native File Dialog] Add support for adding custom options to the dialogs (w/o editor changes).
2024-01-25 16:26:58 +01:00
Rémi Verschelde
e0dc23367c
Remove now unused year member from version.py
We changed copyright to use "present" for the current year, so we no
longer need to hardcode this and (like now) forget to bump it yearly.
2024-01-25 15:08:34 +01:00
clayjohn
efb1cbaad4 Add GLES3 infrastructure for lightmap baking in the compatibility backend 2024-01-24 17:13:30 -08:00
clayjohn
c6316bff65 Avoid saving the texture_rd_rid property of TextureRD resources
RIDs do not persist between runs, so they should not be saved
2024-01-24 10:34:51 -08:00
Micky
552403d581 Tweak XROrigin3D documentation 2024-01-24 16:53:09 +01:00
Yuri Sizov
a32a2eaedc Merge pull request #87417 from AThousandShips/tree_clear
Use callable for `TreeItem` custom draw
2024-01-24 14:08:36 +01:00
Yuri Sizov
d454fccdb3 Merge pull request #87395 from mrcdk/popupmenu_get_state
Expose `PopupMenu` `get_item_multistate()` and `set/get_item_multistate_max()`
2024-01-24 14:08:32 +01:00
Yuri Sizov
412f5b3422 Merge pull request #87353 from OverloadedOrama/max-undo-steps
Implement maximum undo steps in UndoRedo
2024-01-24 14:08:25 +01:00
Yuri Sizov
ea6e20253b Merge pull request #87235 from dsnopek/openxr-local-floor
Add support for OpenXR local floor extension
2024-01-24 14:08:17 +01:00
Yuri Sizov
f062d7294e Merge pull request #87156 from DevPoodle/depth-stencil-descriptions
Add descriptions to the remaining properties of RDPipelineDepthStencilState
2024-01-24 14:08:12 +01:00
Yuri Sizov
7f2d493b0e Merge pull request #87047 from Mickeon/documentation-missing-signals
Add missing descriptions to remaining signals
2024-01-24 14:08:08 +01:00
Yuri Sizov
e8f33a74ff Merge pull request #81689 from AThousandShips/compress_doc
Clarify `PackedByteArray.decompress*` limitations with external data
2024-01-24 14:07:41 +01:00
Yuri Sizov
79d818478f Merge pull request #79813 from AThousandShips/callable_doc
Clarify that `Callable` will not be encoded with `var_to_bytes`
2024-01-24 14:07:36 +01:00
bruvzg
a8f521bcad
[Native File Dialog] Add support for adding custom options to the dialogs.
Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in).
2024-01-24 15:00:31 +02:00
skyace65
ed20e32f06 Fix several minor class reference issues 2024-01-23 21:30:43 -05:00
David Snopek
a8690cbeed Add support for OpenXR local floor extension 2024-01-23 09:19:09 -06:00
Micky
8f4598bad4 Add missing documentation for AudioStream & AudioStreamPlayback 2024-01-23 15:37:21 +01:00
Micky
8f10d7dd19 Add missing descriptions to remaining signals. 2024-01-23 15:04:06 +01:00
A Thousand Ships
257d03681c
Use callable for TreeItem custom draw
Deprecating old functionality
2024-01-23 12:07:43 +01:00
Micky
58ddd84108 Overhaul Basis' documentation
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2024-01-23 10:04:39 +01:00
Yuri Sizov
e89c9b50ad Merge pull request #87373 from Calinou/add-log-file-cli-argument
Add `--log-file` command line argument to write output log to a file
2024-01-22 20:39:21 +01:00
Yuri Sizov
3755b7286c Merge pull request #87332 from AThousandShips/scene_saved
[Editor] Add `EditorPlugin::scene_saved` signal
2024-01-22 20:39:07 +01:00
Yuri Sizov
e95456b7f3 Merge pull request #86073 from m4rr5/add_reflection_mask
Add a reflection mask to the reflection probes
2024-01-22 20:38:37 +01:00
Emmanouil Papadeas
c73bfd5d81 Implement maximum undo steps in UndoRedo 2024-01-22 21:38:10 +02:00
mrcdk
c9bdccf7f2 Expose PopupMenu get_item_multistate(), get_item_multistate_max() and set_item_multistate_max() 2024-01-22 20:07:19 +01:00
A Thousand Ships
97b469c46d
[Editor] Add EditorPlugin::scene_saved signal
Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal
2024-01-22 17:51:12 +01:00
CardboardCarl
6dfec4f70d Clarified behavior of RayCast objects when get_collision_point() is used inside a collision shape 2024-01-21 01:16:42 -05:00
Micky
d2ab1b60c4 Document bone list for SkeletonProfileHumanoid
Co-Authored-By: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
2024-01-20 16:34:15 +01:00
Marcel Offermans
25f573ca63 Add a reflection mask to the reflection probes.
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-01-20 08:07:31 +01:00
Hugo Locurcio
6e5e7b8cb7
Add --log-file command line argument to write output log to a file
This works even if file logging is disabled in the project settings,
or for the editor/project manager.

`--log-file`'s value can be an absolute path or relative to the project
directory (similar to existing arguments like `--write-movie`).
2024-01-19 20:30:04 +01:00
nlupugla
558c2763e7 EditorInterface can popup SceneTreeDialog and PropertySelector. 2024-01-19 14:16:29 -05:00
smix8
d6c31017a6 Add NavigationMesh border_size property for tile baking
Adds NavigationMesh border_size property for tile baking.
2024-01-19 17:31:36 +01:00
Hendrik Brucker
9d7c2978f4 Rework GraphEdit connections (drawing, API, optimizations)
- GraphEdit now uses Line2D nodes to draw connection lines and uses a dedicated canvas item shader for them
2024-01-18 16:53:15 +01:00
kobewi
7d0d405e22 Improve documentation for dynamic properties 2024-01-18 02:01:06 +01:00
Yuri Sizov
bb90ebd573 Merge pull request #87259 from Mickeon/documentation-missing-constant-description
Add "missing description" tag to constant & enum documentation
2024-01-17 18:53:19 +01:00
Yuri Sizov
649bcbdac9 Merge pull request #87114 from Mickeon/doc-peeves-AABB
Overhaul AABB's documentation
2024-01-17 18:53:08 +01:00
Yuri Sizov
1169b872c4 Merge pull request #86246 from ecmjohnson/doc-threaded_cull_minimum_instances
Add description for rendering/limits/spatial_indexer/threaded_cull_minimum_instances
2024-01-17 18:52:40 +01:00
DevPoodle
5579edb137 Add descriptions to remaining properties of RDSamplerState 2024-01-16 16:10:46 -08:00
Micky
8467245526 Overhaul AABB's documentation 2024-01-16 19:20:17 +01:00
MewPurPur
786e5bc731 Add missing docs for worker thread pool ProjectSettings and TreeItem.uncollapse_tree() 2024-01-16 20:03:29 +02: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
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
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
Micky
9315cdb3b8 Add missing descriptions for SliderJoint3D's param methods 2024-01-16 11:13:34 +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
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
3df0c5be6a
Merge pull request #86473 from reduz/audio-playback-parameters
Implement audio stream playback parameters.
2024-01-16 10:35:36 +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
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
Hugo Locurcio
a9893e278f
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
This feature is currently only supported when using Forward+.
2024-01-15 20:51:22 +01:00
Micky
61bdbdd9ee Replace some "uncommon" words in class reference 2024-01-15 18:51:52 +01:00
Micky
78574dd6a9 Overhaul NodePath documentation 2024-01-15 18:00:45 +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
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
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
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
Jakub Marcowski
06534f8ad5 Add deprecation notice to a duplicate method of class Window 2024-01-12 18:18:28 +01:00
Rémi Verschelde
bf4fb987e6
Merge pull request #87035 from Mickeon/deprecate-RenderingServer-has-feature
Deprecate RenderingServer's `has_feature` and Features enum
2024-01-11 17:41:50 +01:00
Rémi Verschelde
ea83a12ba2
Merge pull request #86968 from Mickeon/reduz-mystery-meat
Add class reference documentation for GDExtension & GDExtensionManager
2024-01-11 17:41:01 +01:00
Rémi Verschelde
cab27498bd
Merge pull request #86957 from RandomShaper/mt_mends
A couple of enhancements to user-visible threading semantics
2024-01-11 17:40:37 +01:00
Rémi Verschelde
880c12004b
Merge pull request #86881 from AThousandShips/gizmo_fix
[Editor] Add missing virtual bind to `EditorNode3DGizmo(Plugin)`
2024-01-11 17:39:48 +01:00
Micky
967a121c8b Add descriptions to a few RenderingDevice's PipelineDynamicStateFlags 2024-01-11 17:39:31 +01:00
Rémi Verschelde
339a793fa2
Merge pull request #86639 from Mickeon/please-this-took-me-15-minutes-can-we-merge-it-before-2025
Fixing few reports to String's documentation
2024-01-11 17:38:35 +01:00
Rémi Verschelde
dc79e956b6
Merge pull request #86587 from RandomShaper/wtp_enhance
Enhance & fix `WorkerThreadPool`
2024-01-11 17:38:09 +01:00
Rémi Verschelde
50f68ed704
Merge pull request #84886 from Calinou/doc-window-resizable
Document changing the window's resizable status at runtime
2024-01-11 17:35:14 +01:00
Rémi Verschelde
f3fc35eb17
Merge pull request #81506 from twobitadder/reparent_keep_owner
Fix `reparent()` losing owner
2024-01-11 17:34:19 +01:00
mnemoli
a407219693 Add Viewport setting for picking only first-encountered CanvasItem physics object 2024-01-11 14:18:37 +00:00
Micky
c4d7d7c02e Add documentation for GDExtension & GDExtensionManager 2024-01-10 22:02:23 +01:00
Micky
8be1baf732 Add miscellaneous documentation to some classes 2024-01-10 16:52:47 +01:00
Micky
9bbb2bc0f1 Add documentation to PhysicsDirectBodyState2DExtension 2024-01-10 14:32:45 +01:00
Micky
63a08f2493 Deprecate RenderingServer's has_feature and Features enum 2024-01-10 12:26:04 +01:00
Micky
46b0f3e9d6 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734
2024-01-10 12:21:08 +01:00
Rémi Verschelde
3524346689
Merge pull request #87024 from jsjtxietian/CollisionPolygon2D-polygon
Mention `CollisionPolygon2D.polygon` is local to the given CollisionPolygon2D
2024-01-10 12:03:50 +01:00
Rémi Verschelde
74f3d168c8
Merge pull request #87022 from DarioSamo/clear_region_continue_fix
Fix incorrect mapping of initial action as clear region continue to clear.
2024-01-10 12:03:45 +01:00
Rémi Verschelde
af7eae9f50
Merge pull request #86997 from Mickeon/documentation-image
Add missing descriptions for Image's documentation
2024-01-10 12:03:41 +01:00
jsjtxietian
f5409dc132 Mention CollisionPolygon2D.polygon is local to the given CollisionPolygon2D 2024-01-10 11:14:57 +08:00
Dario
80eacf1b7a Fix incorrect mapping of initial action as clear region continue to clear. 2024-01-09 22:03:21 -03:00
Micky
b7eee9de65 Add documentation to PhysicsServer2DExtension 2024-01-09 22:34:08 +01:00
Micky
e01b91777a Add missing descriptions for Image's documentation 2024-01-09 19:37:37 +01:00
Rémi Verschelde
60865dab6b
Merge pull request #85336 from DevPoodle/rduniform-descriptions
Add descriptions to all RDUniform methods
2024-01-09 17:56:44 +01:00
Rémi Verschelde
2bbe1e8e2c
Merge pull request #85468 from RedMser/audio-capture-record-confusion
Clarify difference between Capture and Record audio effects
2024-01-09 17:47:08 +01:00
Micky
a33777d49d Add missing descriptions to PrimitiveMesh and SoftBody3D 2024-01-09 17:31:12 +01:00
Pedro J. Estébanez
acac31ba5c Allow EditorImportPlugin to override can_import_threaded() 2024-01-09 17:30:24 +01:00
Dario
cc4d39b0c1 Acyclic Command Graph for RenderingDevice.
Adds a new system to automatically reorder commands, perform layout transitions and insert synchronization barriers based on the commands issued to RenderingDevice.
2024-01-08 14:54:56 -03:00
Rémi Verschelde
a7e347482b
Merge pull request #86687 from TokageItLab/AnimationMixer-remove-object-pointer
Fix TrackCache conflict when tracks have same name but different type
2024-01-08 14:52:30 +01:00
Rémi Verschelde
129332e3b9
Merge pull request #82468 from kitbdev/tabcontainer-bottom
Option to put TabContainer tabs at bottom
2024-01-08 14:51:37 +01:00
Silc Lizard (Tokage) Renew
a51958a2a0 Remove Object pointer/solve types conflict in AnimationTrackCache
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-08 21:48:19 +09:00
Pedro J. Estébanez
9444d297ed WorkerThreadPool: Overhaul scheduling and synchronization
This commits rewrites the sync logic in a way that the
`use_system_threads_for_low_priority_tasks` setting, which was added due to
the lack of a cross-platform wait-for-multiple-objects functionality, can be
removed (it's as if it was effectively hardcoded to `false`).

With the new implementation, we have the best of both worlds: threads don't
have to poll, plus no bespoke threads are used.

In addition, regarding deadlock prevention, since not every possible case of
wait-deadlock could be avoided, this commits removes the current best-effort
avoidance mechanisms and keeps only a simple, pessimistic way of detection.

It turns out that the only current user of deadlock prevention, ResourceLoader,
works fine with it and so every possible situation in resource loading is now
properly handled, with no possibilities of deadlocking. There's a comment in
the code with further details.

Lastly, a potential for load tasks never being awaited/disposed is cleared.
2024-01-08 12:45:42 +01:00
Rémi Verschelde
07f5dac81a
Merge pull request #86895 from Mickeon/documentation-textserver-missing-descriptions
Add missing descriptions to TextServer's constants
2024-01-08 12:01:07 +01:00
Rémi Verschelde
f5e2529584
Merge pull request #86848 from Mickeon/documentation-canvas-texture-note
Specify how CanvasTexture does not work in 3D
2024-01-08 11:58:43 +01:00
Rémi Verschelde
ff79ec75de
Merge pull request #86349 from DSteve595/patch-1
Clarify doc: `Node.get_child` returns null for invalid index
2024-01-08 11:53:04 +01:00
Mansur Isaev
631d722674
Add set_slot_custom_icon and get_slot_custom_icon to GraphNode 2024-01-08 08:30:10 +01:00
Micky
e03f2b65c2 Fill the documentation of a few overlooked classes 2024-01-07 17:51:04 +01:00
A Thousand Ships
c909354396
Clarify that Callable will not be encoded with var_to_bytes 2024-01-07 14:10:36 +01:00
A Thousand Ships
4850b866e8
Clarify PackedByteArray.decompress* limitations with external data 2024-01-07 13:34:39 +01:00
Steven Schoen
3c416f3a64 Clarify Node doc: get_child returns null for invalid index 2024-01-07 00:01:03 -04:00
kit
f6a212837b TabContainer bottom position 2024-01-06 15:31:08 -05:00
Micky
d3150c9c8f Add missing descriptions to TextServer's constants 2024-01-06 19:06:48 +01:00
A Thousand Ships
c794ce195b
[Editor] Add missing virtual bind to EditorNode3DGizmo(Plugin)
Method `_begin_handle_action` was not bound
2024-01-06 17:27:50 +01:00
Micky
8ca47c981d Add a few notes to Sprite3D's documentation 2024-01-06 12:54:18 +01:00
Micky
52d062560b Specify how CanvasTexture does not work in 3D 2024-01-06 01:43:40 +01:00
Micky
1310dd0730 Add documentation to JavaClass & JavaClassWrapper 2024-01-05 19:54:25 +01:00
Rémi Verschelde
89cc635c05
Merge pull request #86820 from sepTN/fix-typos-3
Fix various typos in documentation
2024-01-05 12:06:45 +01:00
Rémi Verschelde
e59b4deec0
Merge pull request #84140 from HexagonNico/quaternion-docs
Complete the docs for Quaternion
2024-01-05 12:03:31 +01:00
Rémi Verschelde
85e999dc5e
Merge pull request #64908 from marcinn/lightmap-gi-texel-scale
Add `texel_scale` property to LightmapGI
2024-01-05 12:01:49 +01:00
Nico
d67e7f8729 Complete the docs for Quaternion 2024-01-05 11:31:59 +01:00
Septian
d3e7b8c8a8 Fix various typos in documentation 2024-01-05 15:47:58 +07:00
Rémi Verschelde
179dfdc8d7
Merge pull request #86742 from paulloz/doc/dotnet-basis-examples
Add C# examples in `Basis.xml`
2024-01-04 18:05:44 +01:00
Rémi Verschelde
acd37f98c0
Merge pull request #83353 from Chubercik/expose_delaunay_3d
Expose 3D Delaunay tetrahedralization in `Geometry3D`
2024-01-04 16:39:23 +01:00
Rémi Verschelde
c772a5b050
Merge pull request #78960 from kleonc/inspector-follow-focus
Make editor inspector follow focus
2024-01-04 16:38:46 +01:00
Rémi Verschelde
b88eddb682
Merge pull request #78378 from 0xafbf/curve-evaluate-correct-transform
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2024-01-04 16:38:38 +01:00
Marcin Nowak
eea2ad4019 Add texel_scale property to LightmapGI 2024-01-04 16:24:19 +01:00
Rémi Verschelde
18e9133d5a
Merge pull request #86364 from aaronfranke/basis-divide
Add and expose Basis/Transform2D/3D division by float operator
2024-01-04 14:26:16 +01:00
Rémi Verschelde
574e076f51
Merge pull request #84666 from MewPurPur/document-resize-performance
Add performance note to `Array.resize()`
2024-01-04 14:26:11 +01:00
Rémi Verschelde
bbfcfe50da
Merge pull request #81267 from Chaosus/astargrid_isometric_mode
Add isometric cell shape mode to `AStarGrid2D`.
2024-01-04 14:25:00 +01:00
Rémi Verschelde
ea3e3b088a
Merge pull request #80282 from Mickeon/doc-peeves-ostrich
Overhaul OS documentation
2024-01-04 14:24:39 +01:00
Micky
465e843d40 Overhaul OS documentation 2024-01-04 12:37:56 +01:00
Rémi Verschelde
91f0789efb
Merge pull request #85240 from krazy-j/nodepath-get-name-documentation
Fix example in `NodePath.get_name()` documentation
2024-01-03 15:43:16 +01:00
Rémi Verschelde
9a7207928a
Merge pull request #84656 from AThousandShips/clamp_detail
Clarify that `@GlobalScope.clamp` does not do component-wise clamping
2024-01-03 15:42:25 +01:00
Rémi Verschelde
73c5deff76
Merge pull request #82916 from jsjtxietian/update-scene-tree-tooltip-after-editor-description-chnage
Support updating tooltip immediately after editor description change
2024-01-03 15:41:31 +01:00
Rémi Verschelde
9561160a6a
Merge pull request #80094 from Sauermann/fix-window-sizechange-doc
Explain which nodes receive `NOTIFICATION_WM_SIZE_CHANGED`
2024-01-03 15:40:11 +01:00
Rémi Verschelde
078ed369f1
Merge pull request #68560 from Mickeon/doc-peeves-nodeworthy
Overhaul Node Documentation
2024-01-03 15:39:21 +01:00
Paul Joannon
8b5894843c
Add C# examples in Basis.xml
Follow up to #86664
2024-01-03 11:54:55 +01:00
Rémi Verschelde
f38076e15c
Merge pull request #86664 from Mickeon/doc-peeves-basis-examples
Add code examples to Basis' documentation
2024-01-03 10:13:50 +01:00
Rémi Verschelde
a6dc1b3907
Merge pull request #84527 from Calinou/colorpicker-display-revert-icon
Display a revert icon on ColorPicker's old sample
2024-01-03 09:59:06 +01:00
Rémi Verschelde
22e880ad20
Merge pull request #83163 from Chubercik/vectorXi_dist_methods
Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-03 09:58:36 +01:00
Rémi Verschelde
c10251af59
Merge pull request #86685 from jsjtxietian/update-get-image-doc
Update `get_image` doc to mention that it will return an empty image with invalid texture
2024-01-02 18:06:21 +01:00
Rémi Verschelde
b4b96ab4e3
Merge pull request #86672 from qwofford/qwofford/issue85805
Fix incorrect VehicleWheel3D Roll Influence description
2024-01-02 18:06:13 +01:00
Rémi Verschelde
dc95a3de56
Merge pull request #86666 from Mickeon/merge-this-before-2024-i-bet-you-wont
Link to mentioned articles in the docs instead of just naming them
2024-01-02 18:06:09 +01:00
Rémi Verschelde
7fc37a8981
Merge pull request #86649 from SGiygas/patch-1
Correct C# syntax in `_validate_property` example for the Object class
2024-01-02 18:06:06 +01:00
Rémi Verschelde
14b1bb47a7
Merge pull request #86570 from RandomShaper/remove_traces_of_rid_prealloc
Remove traces of the extinct RID preallocate feature
2024-01-02 18:05:41 +01:00
Rémi Verschelde
cf519ab898
Merge pull request #86551 from bruvzg/agility_dynamic_load
[D3D12] Dynamically load Agility SDK.
2024-01-02 18:05:33 +01:00
Rémi Verschelde
1f1a971bf4
Merge pull request #86549 from sepTN/fix-docs-typos2
Fix various typos in documentation
2024-01-02 18:05:30 +01:00
Rémi Verschelde
3dae50aa4f
Merge pull request #86520 from touilleMan/fix-ScriptLanguageExtension-_find_function-documentation
Fix `ScriptLanguageExtension::_find_function` documentation
2024-01-02 18:05:26 +01:00
Rémi Verschelde
b5c6e870e8
Merge pull request #82264 from dalexeev/core-builtin-methods-as-callables
Core: Allow methods of built-in `Variant` types to be used as Callables
2024-01-02 18:05:05 +01:00
Micky
78c9e2c53a Link to the "article" in the docs instead of saying "article" 2024-01-02 16:38:39 +01:00
bruvzg
126a763f7a
[D3D12] Dynamically load Agility SDK. 2024-01-02 17:15:59 +02:00
jsjtxietian
d73312d5e9 Update get_image doc to mention that it will return an empty image with invalid texture 2024-01-02 11:31:38 +08:00
Micky
e88a819194 Add more examples to Basis' Documentation 2024-01-01 19:32:01 +01:00
Quincy Wofford
c979d02db2 corrected tooltip information Roll Influence property of VehicleWheel3D 2023-12-31 15:10:46 -07:00
Gwen
e40b23c619
Correct C# syntax in _validate_property example for the Object class 2023-12-30 19:13:58 +01:00
Micky
292982a78f Overhaul AudioStreamPlayer's documentation 2023-12-30 13:20:02 +01:00
Pedro J. Estébanez
c217041afd Remove traces of the extinct RID preallocate feature 2023-12-28 10:18:05 +01:00
Septian
d83cad6d9b Fix various typos in documentation 2023-12-27 20:37:37 +07:00
A Thousand Ships
e7dbb7a267 Clarify that @GlobalScope.clamp does not do component-wise clamping 2023-12-26 22:16:34 +01:00
Emmanuel Leblond
0124b513cd
Fix ScriptLanguageExtension::_find_function documentation 2023-12-26 14:05:53 +01:00
Yuri Sizov
b4fe310f7d Merge pull request #86377 from timothyqiu/slider-drag
Emit slider's `drag_started` signal before the first value change
2023-12-22 17:20:05 +01:00
Yuri Sizov
84d4889fa0 Merge pull request #86345 from brno32/outline-size-docs
Add note that a large value for `Label.outline_size` is not recommended
2023-12-22 17:20:02 +01:00
Yuri Sizov
13d34d6a2b Merge pull request #85923 from Calinou/editor-filesystem-dock-add-open-in-terminal
Add a editor FileSystem dock action to open a terminal in selected folder
2023-12-22 17:19:53 +01:00
Haoyu Qiu
58db3e5d7b Emit slider's drag_started signal before the first value change 2023-12-21 11:23:35 +08:00
Aaron Franke
c77ae051d5
Add and expose Basis/Transform2D/3D division by float operator 2023-12-20 18:24:03 -06:00
Yuri Sizov
3a8524dd92
Merge pull request #83452 from RandomShaper/rd_common
Split `RenderingDevice` into API-agnostic and `RenderingDeviceDriver` parts
2023-12-20 20:09:18 +01:00
Pedro J. Estébanez
12a519bae2 Split RenderingDevice into API-agnostic and RenderingDeviceDriver parts
Credit and thanks to @bruzvg for multiple build fixes, update of 3rd-party items and MinGW support.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-12-20 19:18:08 +01:00
Alex Drozd
daa8942f41 Add note that a large value for outline_size is not recommended 2023-12-20 17:55:23 +01:00
Yuri Sizov
ed5a54d797 Merge pull request #86326 from MichaelMacha/patch-1
Remove pointer to deprecated class page from Skeleton3D
2023-12-20 15:08:14 +01:00
Yuri Sizov
e11e0a7f07 Merge pull request #84734 from Anutrix/node-doc-11112023
Add description to `AnimationNodeStateMachine.replace_node`
2023-12-20 15:07:36 +01:00
Yuri Sizov
bc6be82f5a Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
kobewi
ce9fec9b4d Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
Yuri Sizov
3ce73e5d41 Merge pull request #86331 from Calinou/doc-richtexteffect
Improve RichTextLabel `install_effect()` documentation
2023-12-19 20:33:13 +01:00
Yuri Sizov
dee2604d99 Merge pull request #84729 from nickyfoo/add-navigationserver-getters
Add missing getters to navigation servers
2023-12-19 20:32:46 +01:00
Yuri Sizov
179b8c7973 Merge pull request #84185 from bruvzg/lbl_char_rects
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 20:32:39 +01:00
Yuri Sizov
b9dff50282 Merge pull request #83785 from Geometror/graphedit-dotted-grid
Add dotted grid to GraphEdit
2023-12-19 20:32:35 +01:00
Nicholas Foo
e7ee672120 Add getters to navigation servers
Add virtual functions and bind to navigation servers
Implement getters
Add documentation
2023-12-19 19:51:49 +01:00
msreis
f1cc14d525 Fix missing time for some script functions in profiler
Fixes the issue by adding a mechanism by which the functions that were
previously disappearing can be profiled too. This is optional with
an editor setting, since collecting more information naturally slows the engine
further while profiling.

Fixes #23715, #40251, #29049
2023-12-19 19:42:21 +01:00
Hugo Locurcio
78fff7292c
Improve RichTextLabel install_effect() documentation 2023-12-19 17:29:49 +01:00
Hugo Locurcio
0e97acff84
Add a editor FileSystem dock action to open a terminal in selected folder
This is useful to enter some commands without having to open a separate
terminal and `cd` to the project folder.
2023-12-19 15:04:02 +01:00
Yuri Sizov
02d4579fa2 Merge pull request #85000 from bruvzg/ed_ui_direction
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Yuri Sizov
1ecba5d341 Merge pull request #84940 from Calinou/editor-textureprogressbar-inspector-hide-properties
Hide ineffective TextureProgressBar properties in the editor
2023-12-19 13:01:30 +01:00
Yuri Sizov
7aae85edfd Merge pull request #84845 from DarkMessiah/tree-disabled-checkbox
Implement disabled state for Checkbox in Tree
2023-12-19 13:01:25 +01:00
Yuri Sizov
76fdc0adad Merge pull request #84708 from bruvzg/winink_def
[Windows] Make Windows Ink tablet API default, add dummy driver to disable tablet input.
2023-12-19 13:01:14 +01:00
Yuri Sizov
714e27393a Merge pull request #84652 from timothyqiu/enum-pun
Avoid punning enum names in documentation
2023-12-19 13:01:10 +01:00
bruvzg
e9c219cff2
[Label] Add get_character_bounds method to get bounding rectangles of the characters. 2023-12-19 13:53:21 +02:00
Michael Macha
0e52ffeb69
Remove pointer to deprecated class page, from Skeleton3D
SkeletonIK3D is now deprecated, but Skeleton3D is recommending looking into its use for complicated inverse kinematics. What's worse, the removed line is not perfectly clear for non-developers and people less experienced with the engine, and could still stand to be improved.
2023-12-19 04:46:34 -07:00
bruvzg
e01b22a69d
[Windows] Make Windows Ink tablet API default, add dummy driver to disable tablet input. 2023-12-18 22:36:54 +02:00
Yuri Sizov
a4d789370f Merge pull request #85966 from Kimau/claire/expose_mouseover
Expose a method to get hovered Control in Viewport
2023-12-18 18:17:57 +01:00
Yuri Sizov
644e236e5c Merge pull request #83987 from bruvzg/macos_window_and_help
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +01:00
Yuri Sizov
80c3ed6845 Merge pull request #80487 from theraot/expose_set_global_name
Expose `Script.get_global_name()`
2023-12-18 18:17:30 +01:00
A Thousand Ships
0081a50e32 Prevent mapping areas with invalid IDs for Area2D/3D
This occurs when areas are created directly from the servers, and no
instance is linked.
2023-12-18 16:02:46 +01:00
Alfonso J. Ramos
e7e35e8366 Expose Script.get_global_name() 2023-12-18 15:13:09 +01:00
Claire Blackshaw
fe7725239e Expose a method to get hovered Control in Viewport 2023-12-18 14:53:52 +01:00
Yuri Sizov
9c425c592f Merge pull request #86161 from ZeferinoI/patch-1
Update the description of the method get_connection_list in GraphEdit
2023-12-16 17:50:01 +01:00
Yuri Sizov
1e86ce0b40 Merge pull request #85317 from miv391/fix-breaking-frame-index-in-sprites
Fix invalid `frame` index when Sprite2D's `hframes` or `vframes` has been changed
2023-12-16 17:49:38 +01:00
Yuri Sizov
4b258ccdd3 Merge pull request #82884 from KoBeWi/commit_message_cached,_please_refresh
Clarify some descriptions regarding resource cache
2023-12-16 17:49:20 +01:00
Yuri Sizov
d02b368fd6 Merge pull request #78095 from aaronfranke/dict-get-or-set-default
Add a `get_or_add` method to Dictionary
2023-12-16 17:49:10 +01:00
Mika Viskari
484c5b5aff Fix invalid frame index when Sprite2D's hframes or vframes has been changed 2023-12-15 20:32:18 +02:00
Yuri Sizov
302e41c264 Merge pull request #82561 from ershn/fix_navigation_agents_is_target_reached_behavior
Make `target_desired_distance` affect the navigation of `NavigationAgent2D/3D`
2023-12-14 21:22:35 +01:00
Yuri Sizov
4cf6325aa1 Merge pull request #84660 from groud/better_tileset_polygons
Move tile transforms handling cache to TileData
2023-12-14 17:38:14 +01:00
Yuri Sizov
16d1d85a56 Merge pull request #78206 from alula/node-count-in-group
Add SceneTree.get_node_count_in_group()
2023-12-14 17:38:00 +01:00
ZeferinoI
53ab38a34e
Update the description of the method get_connection_line in GraphEdit.xml
The form should be like { from_port: 0, from_node: "GraphNode name 0", to_port: 1, to_node: "GraphNode name 1" }
2023-12-14 23:09:43 +08:00
bruvzg
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization. 2023-12-13 23:20:05 +02:00
nlupugla
cd221c1816 Added NodePath::slice method. 2023-12-13 13:30:28 -05:00
Gilles Roudière
18fe0bd025 Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
Rémi Verschelde
d3414d80bf
Merge pull request #86081 from KoTeYkA23/bindings-for-emulated-input-events
Add bindings for setting and getting emulation mouse from touch and touch from mouse in input
2023-12-13 10:33:36 +01:00
Rémi Verschelde
28220a3405
Merge pull request #86071 from Calinou/doc-time-scale-audioserver
Document `AudioServer.playback_speed_scale` in `Engine.time_scale`
2023-12-13 10:33:12 +01:00
CaTaTo
075a54bbcf Add bindings for setting and getting emulation mouse from touch and touch from mouse in input 2023-12-13 08:07:36 +03:00
Rémi Verschelde
41365c6c8b
Merge pull request #70315 from RandomShaper/d3d12_mesa
Direct3D 12 Rendering Driver (Mesa NIR approach)
2023-12-12 21:58:57 +01:00
Pedro J. Estébanez
2f47c57385 Add Direct3D 12 RenderingDevice implementation 2023-12-12 19:10:04 +01:00
Hugo Locurcio
ce2a7f3253
Document AudioServer.playback_speed_scale in Engine.time_scale
This also documents `physics_ticks_per_second` not being automatically
adjusted, which can be important when speeding up simulation.
2023-12-12 13:13:05 +01:00
Rémi Verschelde
342531597b
Merge pull request #85811 from clayjohn/2D-render-info
Implement render info counters for the 2D renderer
2023-12-12 10:41:06 +01:00
Rémi Verschelde
4943b6e6b3
Merge pull request #84451 from ShirenY/FixSkeletonMeshCulling
Transform mesh's AABB to skeleton's space when calculating mesh's bounds
2023-12-12 00:16:51 +01:00
Rémi Verschelde
5529d32b56
Merge pull request #83938 from clayjohn/sky-exposure
Expose `energy_multiplier` to remaining SkyMaterials
2023-12-12 00:16:25 +01:00
Rémi Verschelde
4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
Rémi Verschelde
9eb47ce361
Merge pull request #75098 from smix8/map_random_point_queries_4.x
Add NavigationServer random point queries
2023-12-12 00:15:05 +01:00
Rémi Verschelde
6882e5042d
i18n: Sync translations with Weblate
(cherry picked from commit 1dee633c91)
2023-12-11 22:10:21 +01:00
kobewi
a1aa1a468f Clarify some descriptions regarding resource cache 2023-12-10 20:30:01 +01:00
ShirenY
27f71c4e78 Transform mesh's AABB to skeleton's space when calculate mesh's bounds. 2023-12-09 11:41:15 +08:00
Yuri Sizov
7798ea773b Merge pull request #85717 from thmasn/master
Explain parameter usage in GPUParticles3D and GPUParticles2D
2023-12-08 16:58:34 +01:00
Yuri Sizov
dfe0f584b4 Merge pull request #82953 from jsjtxietian/document-forcedraw-can-only-be-called-from-main-thread
Add thread guard for `force_draw` and update related documentation
2023-12-08 15:22:53 +01:00
smix8
64a56245d8 Add NavigationServer random point queries
Adds query functions to get random points on navigation mesh to the NavigationServer.
2023-12-08 00:18:05 +01:00
Rémi Verschelde
a311a4b162
Merge pull request #83976 from BastiaanOlij/gles3_msaa_scaler
Add 3D MSAA and scaling support to GLES3
2023-12-07 14:36:42 +01:00
Rémi Verschelde
d5ad37afcd
i18n: Sync translations with Weblate
(cherry picked from commit daeb1c7292)
2023-12-07 11:13:54 +01:00
Haoyu Qiu
9c83d3db5b Fix missing heading in translated online class reference 2023-12-07 11:35:06 +08:00
clayjohn
528b4a3283 Implement render info counters for the 2D renderer
This provides information for the debug monitors
2023-12-06 14:39:33 -07:00
Mel Collins
4359dc4ecc Clarify Shapecast safe/unsafe fraction difference 2023-12-06 22:25:15 +01:00
Aaron Franke
437586bf31
Add a get_or_add method to Dictionary 2023-12-06 11:43:58 -06:00
Mikael Klasson
4986d6d317 Fix invalid Python escape sequences 2023-12-06 11:51:41 +09:00
thmasn
def5545b39 Explain parameter usage in GPUParticles3D.xml and GPUParticles2D.xml
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-05 20:56:38 +01:00
Rémi Verschelde
708efe9b94
Merge pull request #85491 from BNTFryingPan/editor-icon-color-docs
Fix documentation for `icon_and_font_color` editor setting
2023-12-05 15:15:39 +01:00
Rémi Verschelde
c4f872e38e
Merge pull request #85599 from addmix/CameraAttributesPhysical-docs
Improve documentation for `CameraAttributesPhysical.exposure_shutter_speed`
2023-12-05 13:05:32 +01:00
addmix
b7b0022c7a Improve documentation for CameraAttributesPhysical.exposure_shutter_speed 2023-12-04 17:35:31 -07:00
Bastiaan Olij
caddce14dd Add 3D MSAA and scaling support to GLES3 2023-12-05 10:01:00 +11:00
Rémi Verschelde
f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde
628af13338
Merge pull request #83907 from Calinou/doc-texture-filter
Improve and clarify texture filtering documentation
2023-12-04 23:00:28 +01:00
Rémi Verschelde
4bd5ffd669
Merge pull request #83812 from smix8/navregion_properties
Fix missing NavigationRegion property updates in constructor
2023-12-04 22:59:13 +01:00
Rémi Verschelde
9be2f25c57
Merge pull request #83802 from smix8/navlink_properties
Fix missing NavigationLink property updates in constructor
2023-12-04 22:58:49 +01:00
smix8
25bf20d7a5 Fix missing NavigationRegion property updates in constructor
Fixes missing NavigationRegion property updates in constructor.
2023-12-04 19:50:17 +01:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
Frying☆Pan
de59872db8 fix documentation for icon_and_font_color editor setting 2023-11-30 14:00:07 -05:00
Rémi Verschelde
c17d73f140
i18n: Sync translations with Weblate 2023-11-29 17:21:35 +01:00
Ershn
fce16b6662 Make target_desired_distance affect the navigation of NavigationAgent2D/3D
When the target is reachable, stop the navigation only when the target is reached.
2023-11-29 23:48:54 +09:00
RedMser
61570884bf Clarify difference of Capture and Record effects 2023-11-28 13:59:12 +01:00
DevPoodle
45ae95c2be Add descriptions to all RDUniform methods 2023-11-26 08:15:46 -08:00
Pedro J. Estébanez
ab01dc5a48 Enhance SceneTree.change_scene*() methods' docs 2023-11-24 11:25:21 +01:00
Krazy_J
b359f8e6f5
Fix example in NodePath.get_name() documentation
The output of `node_path.get_name(2)` is stated to be `Sprite`,
but the actual output is `Sprite2D`.
2023-11-22 14:07:17 -06:00
Rémi Verschelde
7022271291
i18n: Sync translations with Weblate 2023-11-21 16:08:36 +01:00
风青山
ed0e6e87fd Fix translation po file not found when make rst
The parsed language parameters contain unstripped spaces. This will
generate a wrong path.

Provide a `TOOLSOPT` to allow overriding the default values of
parameters of the `make_rst.py` script.

The xml generated by `godot --doctool -l LANG` can be checked for
errors using `make xml-check LANGARG=LANG`, which may be useful for
checking errors in po files.
2023-11-19 11:29:46 +08:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
Hugo Locurcio
c7f6504105
makerst: Disallow user-contributed notes on the class index page
User-contributed notes are still allowed on individual class pages.
2023-11-17 10:51:29 +01:00
Rémi Verschelde
80e1672836
i18n: Sync translations with Weblate 2023-11-16 17:38:43 +01:00
Hugo Locurcio
ab8c9b678f
Document the upsides and downsides of packed arrays versus typed arrays 2023-11-15 23:30:47 +01:00
Hugo Locurcio
9f1870ec49
Hide ineffective TextureProgressBar properties in the editor
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Stanislav Labzyuk
ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +01:00
jsjtxietian
4680ced5fa support updating tooltip after editor description change 2023-11-15 14:27:49 +08:00
Markus Sauermann
8ac2e2ac20 Mark SubViewportContainer::_propagate_input_event experimental
The function got introduced during 4.2-dev and it was discussed, if it
could be implemented in a way that also allows InputEvent filtering
during `Node._process`. Let's keep this function experimental for the
moment, in case we implement a general solution.
2023-11-14 21:34:46 +01:00
Hendrik Brucker
1a8e676131 Add different grid patterns to GraphEdit 2023-11-14 19:48:31 +01:00
Hugo Locurcio
47cadda3ad
Improve and clarify texture filtering documentation
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).
2023-11-14 15:18:03 +01:00
Hugo Locurcio
d6768a17fa
Document changing the window's resizable status at runtime 2023-11-14 15:02:25 +01:00
Rémi Verschelde
70ec97aadf
Merge pull request #84844 from Calinou/doc-runtime-loading-image
Link to runtime loading/saving tutorial and improve Image documentation
2023-11-14 12:17:31 +01:00
Hugo Locurcio
e5270c0db2
Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
Markus Sauermann
361aa909da Explain which nodes receive NOTIFICATION_WM_SIZE_CHANGED 2023-11-13 17:32:39 +01:00
kobewi
4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
Rémi Verschelde
7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.
2023-11-12 15:22:16 +01:00
Rémi Verschelde
5abeb043d0
Merge pull request #84784 from timothyqiu/recturns
Fix typo in `TextureServer.font_get_face_index()` description
2023-11-12 12:16:18 +01:00
Micky
b5ca06c9ca Overhaul Node Documentation 2023-11-12 12:10:27 +01:00
Hugo Locurcio
a63556212d
Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.
2023-11-12 12:09:39 +01:00
Haoyu Qiu
2717fc6c0f Fix typo in TextureServer.font_get_face_index description 2023-11-12 17:07:09 +08:00
Rémi Verschelde
8179ad558a
Merge pull request #82942 from timothyqiu/circulation
Explain circular references and how to break them
2023-11-11 23:05:11 +01:00
Anutrix
3c82f4a371 Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement 2023-11-11 21:17:19 +05:30
Anutrix
66134fd0f4 Added description to AnimationNodeStateMachine.replace_node 2023-11-11 20:43:58 +05:30
Haoyu Qiu
b2dcef4928 Explain circular references and how to break them
Also improves the documentation of `weakref`.
2023-11-11 10:07:48 +08:00
Rémi Verschelde
76d9521801
Merge pull request #82863 from HexagonNico/docs_get_tree
Specify the behaviour of `get_tree()` when the node is not in the scene tree
2023-11-10 21:54:56 +01:00
Rémi Verschelde
60e46cfeed
Merge pull request #81697 from nathanjf/master
Add missing documentation for `Skeleton3D` methods
2023-11-10 21:53:14 +01:00
Markus Sauermann
0baebed41a
Document that Input.is_action_* should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2023-11-10 21:34:50 +01:00
Nico
ee9c8cb296 Specify the behaviour of get_tree when the node is not in the scene tree 2023-11-10 20:24:53 +01:00
Nathan Frank
13e2e4e5d8 Add missing documentation for Skeleton3D methods
Adds description for get/set pose position/rotation/scale.
2023-11-10 19:07:04 +01:00
Rémi Verschelde
bdd9034ad0
i18n: Sync translations with Weblate 2023-11-10 16:30:40 +01:00
Yuri Sizov
d9c980f1cf Fix a property reference in EditorSpinSlider 2023-11-10 15:30:16 +01:00
jsjtxietian
b88b84ce18 Add thread guard for force_draw and update relared doc
force_draw must be called from main thread
2023-11-10 18:57:31 +08:00
Rémi Verschelde
7f49389c4b
Merge pull request #84698 from RandomShaper/fix_doccy
Fix link in the docs about ResourceImporterTextureAtlas
2023-11-10 10:46:30 +01:00
Rémi Verschelde
4eae6f8028
Merge pull request #84669 from akien-mga/doc-displayserver-dont-mess-with-windows
doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on Window nodes
2023-11-10 10:46:06 +01:00
Rémi Verschelde
804c1926c9
Merge pull request #84648 from NiftyHat/patch-1
Add C# example for the AudioStreamGenerator code snippet
2023-11-10 10:45:20 +01:00
Rémi Verschelde
dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Pedro J. Estébanez
29a4707fa5 Fix link in the docs about ResourceImporterTextureAtlas 2023-11-10 09:51:11 +01:00
Duncan "NiftyHat" Saunders
496eaafe49
Add C# example for the AudioStreamGenerator code snippet 2023-11-10 09:28:35 +01:00
MewPurPur
80b636069a Add performance note to Array.resize() 2023-11-10 00:41:39 +02:00
bruvzg
173b84127b
[Windows] Add some AMD GPUs to the OpenGL blocklist. 2023-11-09 20:11:04 +02:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rémi Verschelde
02e52da774
Merge pull request #84667 from timothyqiu/semi-redundant
Remove a redundant semicolon from `max_fps` documentation
2023-11-09 18:10:11 +01:00
Rémi Verschelde
d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Rémi Verschelde
25e650ab61
Merge pull request #83388 from jsjtxietian/document-resource-saver-uid
Document UID behavior in ResourceSaver's save function
2023-11-09 18:07:41 +01:00
Rémi Verschelde
9ff5ee79b8
Merge pull request #82991 from jsjtxietian/update-doc-for-draw-poly-line
Update `draw_polyline` documentation to clarify negative width behavior
2023-11-09 18:07:16 +01:00
Rémi Verschelde
95a42aeb96
Merge pull request #82092 from jitspoe/master.pr_physical_keycode_doc_fix
Fix documentation on how to get the keycode string from a `physical_keycode`
2023-11-09 18:06:51 +01:00
kobewi
aff49d3a76 Fix missing arrows in integer vector properties 2023-11-09 17:35:15 +01:00
Rémi Verschelde
354c622aa7
doc: Clarify that DisplayServer.window_set_*_callback aren't supported on Window nodes 2023-11-09 17:23:38 +01:00
Haoyu Qiu
d6bd0e1289 Remove a redundant semicolon from max_fps documentation 2023-11-09 22:18:01 +08:00
kit
d24d73ba31 Make mouse-enter/exit notifications match mouse event propagation
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.

In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.

Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
jitspoe
1e01fcd038
Fix documentation on how to get the keycode string from a physical_keycode
Fixes #82091.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-11-09 13:03:29 +01:00
Rémi Verschelde
e769a75640
Merge pull request #84618 from YuriSizov/docs-resolve-method-reference-collisions
Resolve collisions in reference anchors added for methods
2023-11-09 11:47:48 +01:00
Rémi Verschelde
26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde
b153f4868a
Merge pull request #84567 from timothyqiu/shapecast-doc
Sync changes between ShapeCast and RayCast class references
2023-11-09 11:47:00 +01:00
Rémi Verschelde
aaafc69132
Merge pull request #84513 from bruvzg/x11_fallback_and_spam
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
2023-11-09 11:46:36 +01:00
Haoyu Qiu
cc3984f359 Avoid punning enum names in documentation 2023-11-09 17:16:30 +08:00
Yuri Sizov
0924ae0167 Resolve collisions in reference anchors added for methods
While the anchors themselves were sufficiently unique,
when converted to HTML all underscore characters are
replaced. This created collisions between, say, Object._get and
Object.get, where the latter would get a generic unique
anchor identifier, e.g. id1.
2023-11-08 15:16:35 +01:00
Yuri Sizov
b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
clayjohn
a74cfc2629 Use default samplers in base uniform set when rendering to reflection probes 2023-11-07 17:46:05 +01:00
Yuri Sizov
326899226f Merge pull request #84408 from m4gr3d/update_input_event_magnify_gesture_android_description
Update the description for the `InputEventMagnifyGesture` and `InputEventPanGesture` gestures
2023-11-07 12:54:17 +01:00
Hugo Locurcio
079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
Haoyu Qiu
aca6855ef2 Sync changes between ShapeCast and RayCast class references 2023-11-07 16:49:51 +08:00
Fredia Huya-Kouadio
b737ac1e1d Update the description for the InputEventMagnifyGesture and InputEventPanGesture gestures
Mention the requirement to enable those gestures on Android
2023-11-06 11:02:39 -08:00
Yuri Sizov
d3e9033868 Merge pull request #83931 from clayjohn/DOCS-material
Fill out Material documentation and clarify `render_priority` and `next_pass` sorting
2023-11-06 15:43:25 +01:00
Yuri Sizov
b7449a3d1a Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov
e5f1cbfe2a Merge pull request #84376 from YuriSizov/animation-unexpose-internal-property
Unexpose internal data property of `AnimationLibrary`
2023-11-06 13:23:15 +01:00
Yuri Sizov
623b905d2e Remove unused NOTIFICATION_NODE_RECACHE_REQUESTED notification 2023-11-06 12:16:32 +01:00
bruvzg
f3d4f5a77e
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam. 2023-11-06 12:40:44 +02:00
Yuri Sizov
e7c3a0540a Merge pull request #83435 from trevyn/get_skips
Document `AudioStreamGeneratorPlayback.get_skips()`
2023-11-03 12:52:12 +01:00
trevyn
7c2e37e5dd Document AudioStreamGeneratorPlayback.get_skips()
Co-Authored-By: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-02 21:54:07 +02:00
Yuri Sizov
0b2f8ee036 Merge pull request #84283 from jsjtxietian/update-add_submenu-doc
Update `add_submenu_item` doc to mention that submenu should already exist
2023-11-02 20:34:11 +01:00
Yuri Sizov
f2de1137d9 Unexpose internal data property of AnimationLibrary 2023-11-02 18:57:39 +01:00
jsjtxietian
34c27021e0 Update add_submenu doc to mention that submenu should already exist 2023-11-02 11:02:13 +08:00
curious-broccoli
385f4cb572
Fix sentence in RandomNumberGenerator.xml 2023-11-01 21:37:01 +01:00
Rémi Verschelde
1267c58422
Merge pull request #84301 from jsjtxietian/improve-get_time_zone_from_system-doc
Clarify that `get_time_zone_from_system` will return a localized timezone name
2023-11-01 15:12:54 +01:00
Rémi Verschelde
1ea46ad4c3
Merge pull request #84276 from Chubercik/velocity_pivot_desc
Add a description for the `velocity_pivot` parameter
2023-11-01 15:10:56 +01:00
Rémi Verschelde
8ce31989ff
Merge pull request #84226 from Agaanii/patch-1
Fix documentation in MultiplayerAPIExtension
2023-11-01 15:10:33 +01:00
jsjtxietian
fd751f9b21 Clarify get_time_zone_from_system will return a localized timezone name 2023-11-01 19:47:30 +08:00
Boris The Brave
a390996a61
Document that resource_name is not always supported
Closes #82333.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-11-01 10:43:41 +01:00
Jakub Marcowski
201e5bab35
Add a description for the velocity_pivot parameter 2023-11-01 03:15:05 +01:00
Matt Loesby
c10921b5d1 Fix documentation in MultiplayerAPIExtension
Fix documentation in MultiplayerAPIExtension.xml

In implementing a MultiplayerAPIExtension, I found that the example from documentation did not function even in the Multiplayer tutorial example.

Eventually, I found that the issue was that base_multiplayer will not poll unless told to by the LogMultiplayer implementation.

I also corrected a spelling issue and a few out-of-date return types.
2023-10-31 18:39:45 -06:00
Rémi Verschelde
799d30c306
Merge pull request #83753 from bruvzg/mac_angle_fb
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed.
2023-10-31 20:14:42 +01:00
Rémi Verschelde
c942297410
Merge pull request #84224 from ershn/patch-1
Add missing word in `NOTIFICATION_POST_ENTER_TREE` documentation
2023-10-31 13:47:25 +01:00
Rémi Verschelde
cf16c69e7d
Merge pull request #82609 from jsjtxietian/document-localized-timezone-name
Document `get_time_zone_from_system` will return a localized timezone name
2023-10-31 13:46:14 +01:00
Rémi Verschelde
a4efb5a974
Merge pull request #81622 from Calinou/doc-dictionary-merge
Add an example for `Dictionary.merge()`, mention lack of recursion
2023-10-31 13:45:47 +01:00
Hugo Locurcio
0396e12a47
Add an example for Dictionary.merge(), mention lack of recursion 2023-10-31 10:16:11 +01:00
jsjtxietian
5eeb1518a8 Document get_time_zone_from_system will return a localized timezone name 2023-10-31 12:29:10 +08:00
Steven Le Boëdec
47258411da
Add missing word in NOTIFICATION_POST_ENTER_TREE documentation 2023-10-31 09:07:00 +09:00
Rémi Verschelde
17a575625e
Merge pull request #84159 from clayjohn/uv-compression
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde
608226a097
Merge pull request #82801 from allenwp/82587-untyped-declaration-usability
Add a recommendation to turn on type hints with untyped declaration warning
2023-10-30 23:18:10 +01:00
Rémi Verschelde
be8761a801
Merge pull request #81176 from Jordyfel/integer-scaling-docs
Document integer scaling functionality and limitation
2023-10-30 23:17:21 +01:00
Rémi Verschelde
fa54bc3eca
Merge pull request #79571 from Calinou/doc-richtextlabel-padding
Clarify the purpose of RichTextLabel text highlight padding
2023-10-30 23:16:24 +01:00
clayjohn
3f5c16dd9e Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
Allen Pestaluky
ede91c9f89 Added recommendation to turn on Add Type Hints with Untyped Declaration warning
Fixes #82587 by improving usability of the untyped_declaration warning. This adds a note to the documentation that recommends turning on EditorSettings.text_editor/completion/add_type_hints when the untyped declaration warning is set to warn or error.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-10-30 15:46:57 -04:00
Rémi Verschelde
acbc341a58
OpenGL: Fix uninitialized memory usage for GPUPartciles interp_to_end
Fixes #84072.
2023-10-30 15:08:24 +01:00
Rémi Verschelde
6fe7a5e8d7
Merge pull request #84111 from EgeYildir/patch-1
doc: Fix typo in ConcavePolygonShape2D/3D description
2023-10-30 10:19:20 +01:00
Ege Yıldır
0573122605 doc: Fix typo in ConcavePolygonShape2D/3D description 2023-10-29 17:27:47 +03:00
Rémi Verschelde
e2645d8a52
Merge pull request #84109 from clayjohn/disable-disable_2d
Revert "Add a Disable 2D property to Viewport"
2023-10-28 18:36:09 +02:00
Rémi Verschelde
3f045951ed
Merge pull request #84101 from programneer/incorrect-window-width-override
Fixed `window_width_override` description
2023-10-28 12:33:13 +02:00
Rémi Verschelde
17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Kacper Gibas
df0d83f856 Fixed window_width_override description 2023-10-28 09:40:36 +02:00
Andrés Botero
acae382010 Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D 2023-10-28 01:23:38 -05:00
Rémi Verschelde
bcf8a21e5f
Merge pull request #83636 from AThousandShips/scroll_doc
Clarify `NOTIFICATION_SCROLL_BEGIN/END` behavior
2023-10-27 21:40:00 +02:00
clayjohn
f672198f5e Revert "Add a Disable 2D property to Viewport"
This reverts commit f6cc2603a1.
2023-10-27 14:45:59 +02:00
Danil Alexeev
6e996a597f
GDScript: Fix UNSAFE_CAST warning 2023-10-27 12:42:00 +03:00
Rémi Verschelde
73130a20f3
Merge pull request #83916 from Calinou/doc-particles-collision-subemitters
Improve documentation related for particle subemitters, collision and attractors
2023-10-27 11:37:45 +02:00
twobit
b4aa6ad36e Fix reparent losing owner if relationship to original owner is not broken 2023-10-26 13:08:05 -04:00
Rémi Verschelde
bf46ee144d
Merge pull request #77788 from gongpha/stop-posting-about-(re)importing-assets-whatever-dot-exr
Avoid reimporting lightmap textures every getter call
2023-10-26 15:57:46 +02:00
Michael Alexsander
c3fc87964f
Fix disabled tabs being selected when removing the current one 2023-10-25 16:46:54 -03:00
Hugo Locurcio
22e42c1826
Improve documentation related for particle subemitters, collision and attractors
This also describes how to set up particle flipbook animation in
GPUParticles2D's texture property.
2023-10-25 20:44:12 +02:00
Danil Alexeev
b04263644c
Core: Allow methods of built-in Variant types to be used as Callables 2023-10-25 15:53:52 +03:00
clayjohn
9251821c97 Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial
These are needed to tweak sky exposure separately from background
2023-10-25 14:12:22 +02:00
clayjohn
6a663959a6 Fill out Material documentation and clarify render_priority and next_pass sorting 2023-10-25 10:58:06 +02:00
Rémi Verschelde
bef514559a
Merge pull request #82906 from LinuxUserGD/patch-1
Add `sdf_collision` property description to LightOccluder2D
2023-10-25 10:27:56 +02:00
Rémi Verschelde
c0f00be870
Merge pull request #81936 from detomon/update-renderingdevice-doc
Fix required parameter values for 2D textures in `RenderingDevice.texture_clear()`
2023-10-25 10:27:32 +02:00
Rémi Verschelde
ea0ab441c8
Merge pull request #83861 from Calinou/lightmapgi-fix-editor-only-sky-only
Fix LightmapGI taking editor-only and sky-only lights into account
2023-10-24 10:54:56 +02:00
Rémi Verschelde
6ead61ab1e
Merge pull request #83839 from todeskurve/todeskurve-patch-ImmediateMesh.xml
Add C# Example to ImmediateMesh.xml
2023-10-24 10:54:45 +02:00
Rémi Verschelde
c20e948a2b
Merge pull request #83441 from AThousandShips/anim_doc
Fix description of `Animation::copy_track`
2023-10-24 10:54:08 +02:00
Hugo Locurcio
e4d846378b
Fix LightmapGI taking editor-only and sky-only lights into account
These lights are not visible when running the project (or at all),
so they shouldn't affect the lightmap baking process.
2023-10-23 22:56:17 +02:00
todeskurve
db26963938
Add C# Example to ImmediateMesh.xml 2023-10-23 14:50:07 +02:00
Theraot
8777c05817 Expanded documentation for vector slide and project 2023-10-23 06:16:07 -05:00
smix8
2f1668804c Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.
2023-10-23 01:43:55 +02:00
kit
701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
Rémi Verschelde
8c25a98fdf
Merge pull request #83768 from programneer/incorrect-physics-jitter
ProjectSettings: Fix description of physics jitter
2023-10-22 12:13:52 +02:00
Kongfa Waroros
c165f0cf2e Avoid reimporting lightmap textures every getter call 2023-10-22 16:32:08 +07:00
Kacper Gibas
c724368b7d Fix description of physics jitter 2023-10-22 11:12:21 +02:00
bruvzg
590c353707
[macOS] Fallback to native OpenGL renderer if ANGLE initialization failed. Remove platform specific renderer config values from docs. 2023-10-21 22:09:35 +03:00
smix8
b7be45279d Solve race condition between AThousandShips and Akien
Solves race condition between AThousandShips and Akien.
2023-10-21 19:04:41 +02:00
smix8
4771431b28 Fix NavigationAgent3D stored y-axis velocity and make it optional
Fixes NavigationAgent3D stored y-axis velocity and makes it optional.
2023-10-21 01:11:26 +02:00
Rémi Verschelde
d99285db6a
Merge pull request #83609 from k0T0z/fix-csharp-syntax-error-in-web-doc
Fix Object class C# syntax error
2023-10-20 15:10:38 +02:00
Rémi Verschelde
34e3fa5ec7
Merge pull request #83602 from copytime/patch-1
Doc: Change return type of `_Set` method from `void` to `bool` in C# code example
2023-10-20 15:09:51 +02:00
A Thousand Ships
44f62a4f97 Clarify NOTIFICATION_SCROLL_BEGIN/END behavior
Documents that these notifications are only sent for touch events.
2023-10-19 22:33:57 +02:00
jsjtxietian
6950aab078 Make LineEdit secret character easier to change and enter
1. Allow values longer than 1 character in the property,
    but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
    so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
CopyTIME
458cb99966 Change return type of "_Set" method in csharp code example
Add "return false" to GDScript code example of _Set method
2023-10-19 18:52:11 +08:00
Saif Kandil
74efbde7df Fix Object class C# syntax error
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-19 13:43:54 +03:00
Saif Kandil
df5b5243f1 enhance ParticleProcessMaterial.xml documentation
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-19 12:50:28 +03:00
Rémi Verschelde
dce1aab174
Merge pull request #83514 from kleonc/docs-multiplication-operators-doing-xform_inv-csharp
Clarify C# docs for operators performing `xform_inv`
2023-10-18 00:06:02 +02:00
Rémi Verschelde
024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Rémi Verschelde
0181983ad4
Merge pull request #81774 from MewPurPur/improve-visible-on-screen-class-docs
Improve VisibleOnScreen classes' docs
2023-10-18 00:00:11 +02:00
kleonc
408de3b091 Clarify C# docs for operators performing xform_inv 2023-10-17 19:49:42 +02:00
MewPurPur
53d0ba2913 Improve VisibleOnScreen classes docs 2023-10-17 19:29:16 +03:00
Rémi Verschelde
8ff8d41f0b
Merge pull request #83461 from kleonc/docs-multiplication-operators-doing-xform_inv
Clarify docs for operators performing `xform_inv`
2023-10-17 16:13:09 +02:00
Rémi Verschelde
e6d488f233
Merge pull request #81196 from georgwacker/add-audiosession-options
Add project settings for AVAudioSessionCategory on iOS
2023-10-17 16:12:49 +02:00
Georg Wacker
fcc500ea41 Add project settings for AVAudioSessionCategory on iOS 2023-10-17 12:35:49 +02:00
kleonc
a8c62c5928 Clarify docs for operators performing xform_inv 2023-10-16 21:52:02 +02:00
A Thousand Ships
9d23956b28 Fix description of Animation::copy_track
The documentation stated the track was added to this, instead of
`to_animation`
2023-10-16 14:37:19 +02:00
Danil Alexeev
0c2202c56e
GDScript: Fix incorrect error message for utility functions 2023-10-16 14:09:57 +03:00
Jakub Marcowski
bc78c832e9 Expose 3D Delaunay tetrahedralization in Geometry3D 2023-10-16 11:48:49 +02:00
jsjtxietian
161a4b9d60 Document UID behavior in ResourceSaver's save function 2023-10-15 22:19:44 +08:00
Rémi Verschelde
1d3854665f
Merge pull request #83273 from groud/disable_tilemap_navigation
Allow disabling the built-in tilemap navigation
2023-10-13 22:19:48 +02:00
Rémi Verschelde
348c1ff96b
Merge pull request #83266 from bruvzg/linux_case_check
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS.
2023-10-13 22:19:24 +02:00
Dario
a9a197d2dc Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Gilles Roudière
c820c8d1e6 Allow disabling the built-in tilemap navigation 2023-10-13 17:42:28 +02:00
bruvzg
54eae6221a
[Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS. 2023-10-13 15:48:03 +03:00
Rémi Verschelde
51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg
9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde
1eabeb620b
Merge pull request #83038 from jsjtxietian/update-doc-mention-spinbox-reset-habeviour
Update SpinBox documentation to include resetting to min/max behaviour
2023-10-13 11:43:59 +02:00
kobewi
58f4984d60 Add set_custom_interpolator() to PropertyTweener 2023-10-12 16:41:51 +02:00
Jakub Marcowski
cb954c6bab Implement Vector2i/3i/4i methods: distance_to and distance_squared_to 2023-10-12 13:46:49 +02:00
Rémi Verschelde
3126001ef0
Merge pull request #83013 from RobTheFiveNine/documentation/start_button
Add documentation on which buttons JOY_BUTTON_START corresponds to
2023-10-11 22:44:11 +02:00
Rémi Verschelde
efc0b08371
Merge pull request #82832 from bruvzg/oidn_external_exe
Re-add optional OIDN denoise as an external executable.
2023-10-11 22:38:18 +02:00
Rémi Verschelde
587f084200
Merge pull request #82595 from paulloz/fix-fileaccess-error-handling
Error handling for `FileAccess.get_file_as_*`
2023-10-11 22:37:54 +02:00
Rémi Verschelde
357a57b828
Merge pull request #82557 from RadiantUwU/patch-2
Fix `RefCounted.unreference()` documentation providing wrong info.
2023-10-11 22:37:30 +02:00
bruvzg
899e56de5d
Re-add optional OIDN denoise as an external executable. 2023-10-11 19:52:18 +03:00
Paul Joannon
bf3f6e3b55
Error handling for FileAccess.get_file_as_*
- Assign last error in said `FileAccess.get_file_as_bytes` and `FileAccess.get_file_as_string`
- Document error handling for said methods
2023-10-11 18:52:16 +02:00
Radiant
098c445f75 Fix RefCounted.unreference() documentation providing wrong info. 2023-10-11 11:27:25 +03:00
Rémi Verschelde
4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Rémi Verschelde
55282ddc10
Merge pull request #79527 from QbieShay/qbe/particles-rework
Particle internal refactor and additions for more artistic control
2023-10-10 22:48:50 +02:00
QbieShay
c228fe1a0d Particle internal refactor and additions for more artistic control
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: Mew Pur Pur <85438892+MewPurPur@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-10-10 20:03:35 +02:00
Rémi Verschelde
1fe7f8a96c
Merge pull request #82893 from m4gr3d/godot_android_lib_improvements
Cleanups and improvements to the Godot Android library api
2023-10-10 09:11:53 +02:00
Rémi Verschelde
62e7e1618e
Merge pull request #83066 from imaperson/add-semicolon-to-os-case
Add semicolon to OS documentation case statement.
2023-10-09 23:25:39 +02:00
Rémi Verschelde
71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Rex Robinson
a8226a7e04 Add semicolon to OS case statement. 2023-10-09 16:43:43 -04:00
Rémi Verschelde
8384efe21b
Merge pull request #82969 from Calinou/viewport-add-disable-2d
Add a Disable 2D property to Viewport
2023-10-09 15:35:08 +02:00
Rémi Verschelde
ed761780b4
Merge pull request #82883 from ShatReal/fix-input-typo
Fixed a missing word
2023-10-09 15:33:26 +02:00
jsjtxietian
47b78d04bb Update SpinBox documentation to include resetting to min/max behaviour 2023-10-09 19:20:52 +08:00
bruvzg
97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
RobTheFiveNine
5da63c5358
Add documentation on which buttons JOY_BUTTON_START corresponds to 2023-10-08 21:33:22 +01:00
Danil Alexeev
de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
Fredia Huya-Kouadio
2951c162ed Cleanups and improvements to the Godot Android library api:
- Provide api to retrieve the running Godot instance from a GodotHost
- Provide api for the GodotHost to register runtime GodotPlugin instances
- Hide the GodotService class until it's completed
- Include project setting to enable long press for Android devices
- Include project setting to enable pan and scale gestures on Android devices
2023-10-08 05:30:38 -07:00
jsjtxietian
d452fb61aa Update draw_polyline documentation to clarify negative width behavior 2023-10-08 17:06:59 +08:00
Hugo Locurcio
f6cc2603a1
Add a Disable 2D property to Viewport
This is the 2D counterpart to the existing Disable 3D property.
Its functionality is already internally implemented and used,
but it wasn't exposed.
2023-10-07 17:19:15 +02:00
Linux User
72c2d7d0da
Add sdf_collision property description to LightOccluder2D 2023-10-06 12:10:13 +02:00
Matthew
9e455f424a
Merge pull request #80872 from aaronfranke/split-importing-3d-scenes
Update Importing 3D scenes links to match splitting PR
2023-10-05 23:02:28 -04:00
Emily
3f7025b2ed Fixed a missing word 2023-10-05 16:19:48 -07:00
clayjohn
51ed3aef63 Vertex and attribute compression to reduce the size of the vertex format.
This allows Godot to automatically compress meshes to save a lot of bandwidth.

In general, this requires no interaction from the user and should result in
no noticable quality loss.

This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.

Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
Rémi Verschelde
d31794c4a2
Merge pull request #82849 from KoBeWi/change_dir_to_parallel_universe
Clarify `change_dir()` and access scopes
2023-10-05 16:33:52 +02:00
Rémi Verschelde
3b70e30e9b
Merge pull request #77072 from vPumpking/get-tree-string
Add `Node.get_tree_string` and `Node.get_tree_string_pretty`
2023-10-05 16:32:12 +02:00
kobewi
75eaefe7a4 Clarify change_dir() and access scopes 2023-10-05 15:00:22 +02:00
Danil Alexeev
ed0b3c08e1
Core: Fix Object::has_method() for script static methods 2023-10-04 19:44:32 +03:00
Rémi Verschelde
7f0b25e057
Merge pull request #82748 from sepTN/than-then-typo
Fix typos in documentation: `than/then` and `loose/lose`
2023-10-04 15:44:52 +02:00
Rémi Verschelde
d7bca20359
Merge pull request #82722 from BastiaanOlij/openxr_fix_hand_tracking_issues
OpenXR: Fix small hand tracking issues
2023-10-04 15:43:18 +02:00
Rémi Verschelde
1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Rémi Verschelde
d5db0e5032
Merge pull request #81218 from bruvzg/_temp_fs
[Native File Dialogs] Improve filter list handling, add selected filter to the callback.
2023-10-04 15:34:16 +02:00
bruvzg
d1aaa914f3
[macOS] Add about_to_open and popup_hide callback for the global menus, move part of logic to the PopupMenu to allow live menu modification. 2023-10-04 09:49:51 +03:00
Bastiaan Olij
c60ef33175 OpenXR Fix small hand tracking issues 2023-10-04 13:18:31 +11:00
Septian
81276e78f2 Fix typos in documentation: than/then and loose/lose 2023-10-04 04:51:48 +07:00
Yuri Roubinski
04bb89c0bd Add isometric cell shape mode to AStarGrid2D. 2023-10-03 21:04:03 +03:00
bruvzg
43e4708dff
[Native File Dialogs] Improve filter list handling, add selected filter to the callback. 2023-10-03 19:26:16 +03:00
Rémi Verschelde
954a3b337d
Merge pull request #82724 from AThousandShips/grid_doc
Clarify `AStarGrid2D.is_in_bounds` functionality
2023-10-03 17:27:29 +02:00
Rémi Verschelde
3a5d524287
Merge pull request #82614 from m4gr3d/openxr_eye_gaze_interaction
Add support for the OpenXR Eye gaze interaction extension
2023-10-03 17:25:52 +02:00
Rémi Verschelde
19c72e847d
Merge pull request #82544 from MewPurPur/improve-ray-docs
Improve SeparationRayShape docs
2023-10-03 17:24:58 +02:00
Rémi Verschelde
9af1983af2
Merge pull request #82475 from bruvzg/ts_spacing_var
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-10-03 17:23:43 +02:00
Rémi Verschelde
30bc077756
Merge pull request #82364 from bruvzg/angle_lists_and_defaults
[ANGLE] Add fallback control options and defaults.
2023-10-03 17:22:53 +02:00
Rémi Verschelde
0358abbeba
Merge pull request #82179 from bruvzg/mode_docs
[Docs] Update and sync Window and DisplayServer window mode descriptions.
2023-10-03 17:22:05 +02:00
Rémi Verschelde
530e01b478
Merge pull request #80409 from bruvzg/est_title_size
[DisplayServer] Add method to estimate window title bar size.
2023-10-03 17:12:18 +02:00
Rémi Verschelde
9e8a93a5a9
Merge pull request #78762 from Sauermann/fix-svc-event-filter
Enable `InputEvent`-filtering in `SubViewportContainer`
2023-10-03 17:10:34 +02:00
Rémi Verschelde
e64fce3bf4
Merge pull request #69624 from Kubulambula/add-typeof_string()-utility
Add `type_string()` utility
2023-10-03 17:10:05 +02:00
A Thousand Ships
55a3d148f0 Clarify AStarGrid2D.is_in_bounds functionality 2023-10-03 15:51:49 +02:00
Yuri Sizov
cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
bruvzg
ac3fc2a8a1
[ANGLE] Add fallback control options and defaults.
[macOS] Use ANGLE by default if engine is built with statically linked ANGLE.
[Windows] Add option enable/disable fallback to ANGLE and option force specific GPU to always use ANGLE.
2023-10-03 16:23:43 +03:00
bruvzg
72e2e47059
[DisplayServer] Add method to estimate window title bar size. 2023-10-03 16:13:52 +03:00
Bastiaan Olij
9e56e7a3ce Add support for the OpenXR Eye gaze interaction extension
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-10-02 14:02:23 -07:00
bruvzg
c8df5e7291
[Docs] Update and sync Window and DisplayServer window mode descriptions. 2023-10-02 23:47:32 +03:00
Yuri Sizov
a2f90d565a
Merge pull request #82681 from akien-mga/doc-Node3DGizmo
Add docs for Node3DGizmo to clarify its link to EditorNode3DGizmo
2023-10-02 19:59:16 +02:00
Markus Sauermann
781cecdc23 Enable filtering InputEvent-sending in SubViewportContainer
Introduce an user overridable function, that allows filtering, if
an `InputEvent` should be sent to `SubViewport` children.
2023-10-02 19:51:49 +02:00
Rémi Verschelde
9215b03429
i18n: Sync translations with Weblate (first 4.2 sync) 2023-10-02 17:42:35 +02:00
Jakub Janšta
74c937079c Add type_string() utility 2023-10-02 17:41:20 +02:00
Rémi Verschelde
c7630b3755
Add docs for Node3DGizmo to clarify its link to EditorNode3DGizmo
Fixes #82654.
2023-10-02 16:17:16 +02:00
Rémi Verschelde
57a6813bb8
Merge pull request #81582 from YuriSizov/graph-toolbarniceness
Make `GraphEdit` toolbar more customizable
2023-10-02 15:18:42 +02:00
Rémi Verschelde
365ee4196c
Merge pull request #68696 from TokisanGames/expose_editor_viewports
Expose editor viewports in EditorInterface
2023-10-02 15:18:25 +02:00