Max Hilbrunner
d145c9b1a7
Merge pull request #67684 from patchfx/fix-typo-in-draw-rect-region
...
Fix tp_canvas_item typo in _draw_rect_region
2022-10-21 18:13:45 +02:00
Max Hilbrunner
5cefc07d90
Merge pull request #67444 from nonunknown/array_pick_random
...
Add ability to pick random value from array
2022-10-21 16:25:52 +02:00
kobewi
2ff676a696
Remove error condition from get_global_transform()
2022-10-21 14:52:43 +02:00
Danil Alexeev
653e8f5c86
Remove internal functions of named colors from the public API
2022-10-21 11:21:43 +03:00
Alfred Reinold Baudisch
7d15ecc3af
Add Selection and Caret for Next Occurrence of Selection
...
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut.
When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.
If no selection is currently active with the last caret in text fields, selects the word currently under the caret.
The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret.
The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API.
The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
2022-10-21 08:26:53 +02:00
Micky
9a1d87f66f
Fix unordered values of PROPERTY_HINT_INT_IS_POINTER & ARRAY_TYPE
2022-10-21 01:10:38 +02:00
VolTer
05a9637d5d
Fix small mistakes throughout much of the documentation
2022-10-21 00:20:59 +02:00
Clay John
72b845b287
Merge pull request #67506 from squashiv/master
...
Expose Shape2D::get_rect to scripting
2022-10-20 13:26:40 -07:00
Richard Patching
5de65bb2d7
Fix tp_canvas_item typo in _draw_rect_region
2022-10-20 20:04:45 +01:00
Nonunknown
9f4dbf415d
add ability to pick random value from array
2022-10-20 08:39:47 -03:00
squash
247a93845d
Expose Shape2D::get_rect to scripting
2022-10-20 11:26:49 +03:00
George L. Albany
d846dd6e91
Make BaseButton
Shortcut feedback togglable
2022-10-20 02:02:12 -04:00
TechnoPorg
678eec7530
Fully document the Projection class.
...
Projection is a 4x4 matrix that applies a projective transformation.
2022-10-19 18:30:37 -06:00
Hugo Locurcio
e7d72eedc6
Document known issues with CylinderShape3D
2022-10-19 23:43:18 +02:00
Clay John
f63b2a9c05
Merge pull request #66950 from Calinou/doc-surfacetool-generate-normals-smooth-groups
...
Document `SurfaceTool.generate_normals()` interaction with smooth groups
2022-10-19 13:51:58 -07:00
Max Hilbrunner
d148613bb1
Merge pull request #66279 from aaronfranke/control-min-size
...
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19 22:40:52 +02:00
Max Hilbrunner
f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
...
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner
23dec5c54f
Merge pull request #65613 from Commander-Firestrike/audiostreamgeneratorplayback_docs_fix_0
...
Update AudioStreamGeneratorPlayback.xml
2022-10-19 22:15:23 +02:00
Max Hilbrunner
847cef99bf
Merge pull request #66134 from MewPurPur/fix-outdated-editor-settings
...
Improve some Text Editor editor settings
2022-10-19 22:11:01 +02:00
Max Hilbrunner
c660cc4adc
Merge pull request #66410 from RedMser/patch-1
...
Fix `Control.get_global_rect` documentation
2022-10-19 22:06:43 +02:00
Max Hilbrunner
ee772f109f
Merge pull request #66326 from zak-grumbles/editor_script_reference_docs
...
Add note regarding RefCounted to EditorScript docs
2022-10-19 22:02:46 +02:00
Max Hilbrunner
e6311c8e5e
Merge pull request #67001 from KoBeWi/ 🎲
...
Fill random docs
2022-10-19 21:58:03 +02:00
Max Hilbrunner
431012e148
Merge pull request #67208 from Mickeon/doc-peeves-the-peevening
...
Tweak `@GlobalScope` functions documentation overall
2022-10-19 21:12:38 +02:00
Ev1lbl0w
b8aa5ebfeb
Document PopupMenu id behavior
2022-10-19 11:46:28 +01:00
Micky
34804a68e8
Rewrite most of Resource's documentation
2022-10-18 21:03:29 +02:00
bruvzg
c1af9d57a3
Improve font glyph cache packing shelf best height fit heuristic.
2022-10-18 18:42:04 +03:00
Micky
474edca100
Tweak @GlobalScope
functions documentation overall
...
Generally:
- Made use of [param] more frequently;
- Link to other classes' documentation more often;
- Improve and add more examples;
- Ensure that multiple comments of an codeblock example are spaced out equally for better readability;
- Made the writing style closer to how the rest of the documentation is formatted;
- Ensure these are called "functions", not "methods".
- Fixed a few typos.
- Touched up a few cases of zero being written as "zero" or "0" where "0" or "0.0" would be more appropriate.
- Removed mentions of "(real)". In 3.x, this was associated with floats, because TYPE_FLOAT was called TYPE_REAL.
More specifically:
- Every type-safe version of a function (such as `ceili` has a consistent final note ("A type-safe version of [method ceil], returning a [int]").
- Added more details to `randomize`, `seed`.
- Corrected `floori()`'s description. It's not the same as `int()`. This was not correct behavior and has been fixed.
2022-10-18 15:36:18 +02:00
Aaron Franke
9ebd8c5bb5
Remove the global space get_transformed_aabb
helper method
2022-10-18 07:30:31 -05:00
PucklaMotzer09
e5354cacd0
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-18 10:38:53 +02:00
Rémi Verschelde
6fb3a14263
Merge pull request #67458 from Sauermann/fix-expose-viewport-get-screen-transform
...
Expose Viewport::get_screen_transform to GDScript
2022-10-17 17:31:01 +02:00
Rémi Verschelde
235c5c60f8
Merge pull request #67322 from ztc0611/add-ios-ui-options
...
Add iOS UI Options
2022-10-17 17:30:55 +02:00
Dominus Iniquitatis
0743e33407
Fix missing parenthesis in the documentation
2022-10-16 15:36:32 +03:00
Markus Sauermann
39e49a8bdd
Expose Viewport::get_screen_transform to GDScript
2022-10-15 23:37:59 +02:00
Rémi Verschelde
dc4b616596
Merge pull request #63332 from KoBeWi/static_images_aka_photos
...
Make some Image methods static
2022-10-15 12:56:57 +02:00
Rémi Verschelde
2942951a29
Merge pull request #67403 from bitbrain/rename-to-position
...
Rename `pos` to `index` on Node
2022-10-15 12:56:48 +02:00
Miguel Gonzalez Sanchez
a97a00bf02
Rename pos -> index on Node
2022-10-14 19:56:34 +01:00
clayjohn
0a51bb4ca5
Add STATIC_CALLED_ON_INSTANCE warning to highlight
...
when static functions are called directly from objects
2022-10-14 10:43:42 -07:00
clayjohn
b6f44859d7
Implement multiple clip_children modes for CanvasItems
2022-10-14 08:02:28 -07:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Markus Sauermann
b1d6b34662
Always update Viewport's last_mosue_position
...
When the mouse cursor is over a embedded Window, the Viewport's
last_mouse_position did not get updated.
This patch makes sure that the update happens on every InputEventMouse.
Document canvas layer of embedded Windows.
2022-10-14 12:51:45 +02:00
Rémi Verschelde
5f4aa11c62
Merge pull request #63607 from BastiaanOlij/fix_xr_origin
...
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-14 09:45:00 +02:00
Rémi Verschelde
926429392a
Merge pull request #67057 from Anutrix/rng-generator-default-seed
2022-10-13 21:17:09 +02:00
Eric M
a3ed9e6f2c
Move Shortcut Context to Control and ensure that shortcut_input
adheres to contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
2022-10-13 21:07:19 +10:00
Rémi Verschelde
0aa2d70613
Merge pull request #67320 from Calinou/fix-volumetric-fog-low-density
...
Fix volumetric fog not rendering at densities lower than or equal to 0.001
2022-10-13 09:05:30 +02:00
Rémi Verschelde
c55c0a2028
Merge pull request #66349 from A-Lamia/Amount_At_Collision
...
PARTICLES: adds amount property to collision sub particles.
2022-10-13 09:03:43 +02:00
Bastiaan Olij
3a4866bba4
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-13 13:48:52 +11:00
Hugo Locurcio
6aebc7b66e
Fix volumetric fog not rendering at densities lower than or equal to 0.001
...
This allows volumetric fog to render with the lowest density that
can be specified in the inspector (0.0001).
2022-10-13 00:45:49 +02:00
Zach Coleman
d78051c92c
Add iOS UI Options
2022-10-12 15:22:54 -04:00
Lamia
5af6f4a04b
particles: add amount property to sub property collision.
2022-10-13 04:25:18 +11:00
Micky
dc51ff8c5b
Rename set
/get_indexed
's "property" to "property_path"
...
Also touches up the Documentation slightly.
2022-10-12 10:27:44 +02:00
Rémi Verschelde
3852b5017c
Merge pull request #66003 from voidshine/fix_midi_event_mutation
...
Fix MIDI note-on events being converted to note-off events
2022-10-12 08:55:09 +02:00
Rémi Verschelde
6fc1715cdf
Merge pull request #65779 from Mickeon/rename-camera-follow
...
Rename Camera2D's `smoothing` to `position_smoothing`
2022-10-12 08:53:04 +02:00
voidshine
f0f72b3132
Fix MIDI note-on events being converted to note-off events
...
Update documentation with note about MIDI velocity interpretation
2022-10-11 12:40:28 -07:00
Rémi Verschelde
736a2df437
Merge pull request #67244 from RandomShaper/split_render_further_2
...
Polish rendering driver refactor further (take 2)
2022-10-11 21:08:42 +02:00
Pedro J. Estébanez
f82deaa5b3
Polish rendering driver refactor further (take 2)
2022-10-11 19:06:55 +02:00
Micky
43b9cc96da
Rename Camera2D's smoothing
to position_smoothing
...
For Camera2D:
`smoothing_enabled` -> `position_smoothing_enabled`
`set_enable_follow_smoothing` -> `set_position_smoothing_enabled`
`is_follow_smoothing_enabled` -> `is_position_smoothing_enabled`
`smoothing_speed` -> `position_smoothing_speed`
`set_follow_smoothing` -> `set_position_smoothing_speed`
`get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11 16:51:26 +02:00
Rémi Verschelde
6d534f6e89
Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-es
...
Rename remaining "*_enable" to "*_enabled"
2022-10-11 16:17:02 +02:00
Rémi Verschelde
5aadc618b6
Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfo
...
Fetch video adapter driver name and version from OS
2022-10-11 13:59:53 +02:00
Rémi Verschelde
f21053d189
Merge pull request #67201 from progsource/richtextlabel-icon-spritesheet
...
Add Spritesheet support to RichTextLabel BBCode
2022-10-11 13:58:54 +02:00
Rémi Verschelde
07b488e643
Merge pull request #67241 from groud/expose_resource_format_loader_recognize_path
...
Exposes ResourceFormatLoader.recognize_path to scripting
2022-10-11 13:46:24 +02:00
Petra Baranski
546e017613
Add Spritesheet support to RichTextLabel BBCode
...
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
2022-10-11 13:04:15 +02:00
MJacred
de768afbdc
Fetch video adapter driver name and version from OS on Linux/*BSD and Windows
2022-10-11 12:39:41 +02:00
Gilles Roudière
8aa904f56c
Exposes ResourceFormatLoader.recognize_path to scripting
2022-10-11 12:35:27 +02:00
Rémi Verschelde
3a2e749a10
Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-ok
...
Add editor setting for AcceptDialog OK/Cancel buttons positioning
2022-10-11 12:34:04 +02:00
Rémi Verschelde
e413d1c9c3
Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
...
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde
58eff50bf1
Merge pull request #64268 from timothyqiu/is-finite
...
Add `is_finite` method for checking built-in types
2022-10-11 09:25:46 +02:00
Rémi Verschelde
3306ffefd1
Merge pull request #67000 from RandomShaper/split_render_further
...
Polish rendering driver refactor further
2022-10-11 09:23:32 +02:00
Rémi Verschelde
8c24b35b76
Merge pull request #65942 from SaracenOne/animation_change_callback_fix
...
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
ddb97a0b35
Merge pull request #67117 from Jummit/tree-button-color
...
Expose TreeItem::set_button_color
2022-10-10 13:52:57 +02:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 10:32:41 +03:00
Rémi Verschelde
49be2d2cf8
Merge pull request #66524 from microaeris/aeris/text-edit-get-scroll-bar
...
Getters for TextEdit scroll bars
2022-10-09 18:27:30 +02:00
Jummit
1e28675560
Expose TreeItem::set_button_color
2022-10-09 10:37:55 +02:00
Hugo Locurcio
bab8497fa2
Add a project setting to make the root viewport transparent
...
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +02:00
Rémi Verschelde
358c751658
Merge pull request #67053 from Calinou/doc-array-sort-not-stable
...
Document `Array.sort()` and `sort_custom()` using unstable sorting
2022-10-08 13:56:25 +02:00
Rémi Verschelde
2b376437a2
Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
...
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Anutrix
a871114339
Randomize RandomNumberGenerator instances' default seed
2022-10-08 12:26:26 +05:30
microaeris
215fe852b8
Getters for TextEdit scrollbars
2022-10-07 23:16:04 -07:00
Haoyu Qiu
5da515773d
Add is_finite
method for checking built-in types
2022-10-08 13:25:08 +08:00
Haoyu Qiu
344ed9ec6c
Remove leading spaces from enumerator name hints
...
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as
a comma separated list. There're a few properties that add leading
spaces to the names (e.g. `First, Second, Third`).
These spaces are included in the Inspector dropdown, which is
unexpected.
It's better to leave the surrounding spaces untouched because it could
be part of the resulting string value (the variable is a string enum).
And most other enum hints don't contain surrounding whitespaces.
This PR removes the spaces and documents this `PROPERTY_HINT_ENUM`
behavior.
2022-10-08 11:33:50 +08:00
Hugo Locurcio
85b617a6a3
Document Array.sort()
and sort_custom()
using unstable sorting
2022-10-08 01:16:41 +02:00
kobewi
1b7aee3c8d
Fill random docs
2022-10-07 20:10:18 +02:00
meap
09b9d864a7
Fix signature for 'folder_moved' signal of FileSystemDock
2022-10-07 13:38:29 -03:00
Rémi Verschelde
1baefceaba
Merge pull request #66972 from FHEK789/node2d_canvas_item_docs
...
Add descriptions for Node2D's skew and CanvasItem's clip_children
2022-10-07 16:10:00 +02:00
Guilherme Sousa
12940e53c1
Remove expression base node for transitions
2022-10-07 11:13:43 +02:00
Rémi Verschelde
5b7f62af55
Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
...
ColorPicker UX
2022-10-07 09:49:29 +02:00
Pedro J. Estébanez
24ff292999
Polish rendering driver refactor further
...
Mainly:
- Make `max_descriptors_per_pool` project setting Vulkan-specific.
- Use a common, render driver agnostic magic FourCC for shader binary data.
- Downgrade spirv_reflect to Vulkan-only dependency.
- Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.
2022-10-06 21:08:54 +02:00
clayjohn
154b9c1c91
Use a giant UBO to optimize performance in 2D
...
This removes the countless small UBO writes we had before
and replaces them with a single large write per render pass.
This results in much faster rendering on low-end devices
but improves speed on all devices.
2022-10-06 11:24:45 -07:00
Rémi Verschelde
6315800821
Merge pull request #66959 from timothyqiu/obstacles-pathfinding
...
Make it clear that obstacles don't affect pathfinding
2022-10-06 16:34:41 +02:00
Felipe Kinoshita
0bc2eafe54
Add descriptions for Node2D's skew and CanvasItem's clip_children
2022-10-06 05:09:54 -03:00
Rémi Verschelde
61021c08f8
Merge pull request #66936 from mihe/inverse-inertia-tensor
...
Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensor
2022-10-06 08:57:37 +02:00
Rémi Verschelde
5f07012db9
Merge pull request #66955 from FHEK789/tilemap_get_layers_count_docs
...
Add description to TileMap's get_layers_count method
2022-10-06 08:57:23 +02:00
Rémi Verschelde
de7b90015e
Merge pull request #66958 from timothyqiu/static-body
...
Improve StaticBody description
2022-10-06 08:57:17 +02:00
Rémi Verschelde
f5903215d0
Merge pull request #61902 from Paulb23/multi-caret
...
Add Multi-caret support to TextEdit
2022-10-06 08:56:34 +02:00
Haoyu Qiu
8e03203695
Make it clear that obstacles don't affect pathfinding
2022-10-06 11:05:29 +08:00
Haoyu Qiu
54bdb6e65c
Improve StaticBody description
...
The naming of static bodies has raised a lot of questions and
discussions, because they are actually movable (not being static). This
commit explains that the reason for "static" is that they are immovable
from the point of view of the physics engine. This makes it easier to
understand why the user can move static bodies manually.
2022-10-06 10:25:27 +08:00
Felipe Kinoshita
7cb1d1f1ed
Add description to TileMap's get_layers_count method
2022-10-05 18:32:58 -03:00
Paulb23
5f8f4842bb
Update TextEdit docs
2022-10-05 21:44:24 +01:00
Hugo Locurcio
793c4ce0ea
Document SurfaceTool.generate_normals()
interaction with smooth groups
2022-10-05 21:46:23 +02:00
Rémi Verschelde
9bb05de89f
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
2022-10-05 17:51:04 +02:00
Mikael Hermansson
8dc15aac38
Bind PhysicsDirectBodyState3D::get_inverse_inertia_tensor
2022-10-05 17:18:49 +02:00
RedMser
5ae012e6e9
Add documentation for viewport's input handling
2022-10-05 12:56:04 +02:00
Jiri Suchan
67e3fb7856
fix(docs): use proper path for tutorial file in docs
2022-10-05 11:43:41 +02:00
Rémi Verschelde
9cd62741bb
Merge pull request #66839 from aaronfranke/editor-prop-hide-slider
...
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05 08:47:06 +02:00
Rémi Verschelde
ebbfc9695c
Merge pull request #66348 from dzil123/world3d_direct_space_state_doc
...
World3D.direct_space_state add multithreaded warning
2022-10-05 08:32:40 +02:00
Rémi Verschelde
7cbd33a04d
Merge pull request #66913 from timothyqiu/mouse-button-swap
...
Describe the left mouse button constant as the primary button
2022-10-05 08:32:28 +02:00
Rémi Verschelde
4edb4c8e07
Merge pull request #66798 from bruvzg/win_docs
...
[Docs] Synchronize and update Window and Display Server documentation.
2022-10-05 08:32:03 +02:00
Rémi Verschelde
58a112183c
Merge pull request #65227 from BastiaanOlij/complete_render_target_api
...
Implementing override functionality for XR
2022-10-05 08:31:40 +02:00
Rémi Verschelde
53952d4b98
Merge pull request #66895 from Zylann/undo_51969
...
Undo #51969 , generate_mipmaps runs on caller thread.
2022-10-05 08:31:07 +02:00
Rémi Verschelde
52c2a6b564
Merge pull request #66799 from xarses/remove-dangling-os-datetime-ref
...
Remove reference in OS to date and time functions
2022-10-05 08:29:29 +02:00
Rémi Verschelde
57d7e35370
Merge pull request #66509 from Mickeon/yes
...
Support chaining AtlasTextures inside other AtlasTextures
2022-10-05 08:29:17 +02:00
Rémi Verschelde
47c0fe5cd6
Merge pull request #65776 from Mickeon/camera2d-rotation_smoothing
...
Add rotation smoothing to Camera2D
2022-10-05 08:29:02 +02:00
bruvzg
8574dac00e
[Docs] Synchronize and update Window and Display Server documentation.
2022-10-05 08:43:37 +03:00
dzil123
79fa23ae8f
World3D.direct_space_state add multithreaded warning
2022-10-04 22:10:00 -07:00
Haoyu Qiu
f6e9565bdc
Describe the left mouse button constant as the primary button
2022-10-05 10:32:04 +08:00
Bastiaan Olij
c7656978ba
Adding getters to RenderTarget and implementing override functionality for XR
2022-10-05 11:37:49 +11:00
Matthew
4eb9e3326e
Merge pull request #66852 from Jantho1990/bugfix/update-control-focus-signal-documentation-master
...
Control docs: update messaging for focus to be less keyboard-specific
2022-10-04 17:23:36 -04:00
Marc Gilleron
6d2aa8f1b6
Undo #51969 , generate_mipmaps runs on caller thread.
2022-10-04 18:45:41 +01:00
Andrew Woodward
5458b14c43
Remove reference in OS to date and time functions
...
Since they moved to Time
2022-10-04 08:31:28 -07:00
Luis Lopez
c262589e26
Add rotation smoothing to Camera2D
...
Camera2D has follow smoothing to interpolate towards a target position, but no rotation smoothing to align with the target rotation.
This adds rotation smoothing directly into the Camera2D API by having two new properties:
- `rotation_smoothing_enabled`
- `rotation_smoothing_speed`
2022-10-04 17:14:03 +02:00
Micky
1518d813be
Support nesting AtlasTextures inside other AtlasTextures
...
Connects AtlasTexture to its `atlas`'s "changed" signal, allowing it to detect property changes to `atlas` and update accordingly, when the project is running and in the editor, as well.
2022-10-04 17:09:37 +02:00
Rémi Verschelde
8f7cb50c9a
Merge pull request #65528 from Mickeon/rename-more-spatial-to-node-3d
...
Rename remaining "Spatial" in Plugins to "Node3D"
2022-10-04 16:47:08 +02:00
Rémi Verschelde
d1552fd38c
Merge pull request #66734 from jtnicholl/proj_docs
...
Update several ProjectSettings docs
2022-10-04 16:45:42 +02:00
Rémi Verschelde
83ef2676e6
Merge pull request #66449 from Mickeon/stinky
...
Improve AtlasTexture's Documentation
2022-10-04 16:43:53 +02:00
Micky
ae5771e1b1
Rename remaining "Spatial" in Plugins to "Node3D"
...
For EditorNode3DGizmo:
- `get_spatial_node` -> `get_node_3d`
- `set_spatial_node` -> `set_node_3d`
For EditorPlugin:
- `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin`
- `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin`
Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04 16:27:29 +02:00
Josh Anthony
4b0772fd5d
update messaging for focus to be less keyboard-specific
...
Update doc/classes/Control.xml
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Update doc/classes/Control.xml
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-10-04 08:53:28 -05:00
Rémi Verschelde
6a251fd0df
Merge pull request #39072 from dalexeev/cs2d_debug_color
...
Add debug_color property to CollisionShape2D
2022-10-04 12:05:19 +02:00
Rémi Verschelde
68765b8831
Merge pull request #66274 from Calinou/engine-rename-max-fps
...
Rename `Engine.target_fps` and associated project setting to `max_fps`
2022-10-04 11:19:56 +02:00
Rémi Verschelde
9928cdc2e7
Merge pull request #66807 from akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS
...
Unix: Remove now unnecessary I/O defines, cleanup
2022-10-04 10:22:29 +02:00
Hugo Locurcio
1c6c72caf1
Rename Engine.target_fps
and associated project setting to max_fps
...
This makes the setting easier to find, as research has found there are
numerous use cases to limiting FPS. This also improves documentation
related to the Engine property and project setting.
The project setting also works in projects exported in release mode,
so its location in the `debug/` section was misleading.
2022-10-03 23:54:36 +02:00
Aaron Franke
094e8db97c
Fix hide_slider vs no_slider inconsistency in editor property code
2022-10-03 13:40:31 -05:00
Jonathan Nicholl
f1a930f973
Update several ProjectSettings docs
2022-10-03 11:04:39 -04:00
Rémi Verschelde
44dcd83290
Merge pull request #66768 from coppolaemilio/fileaccess-class-reference-update
...
Replacing deprecated File calls from the FileAccess class documentation
2022-10-03 14:52:01 +02:00
Rémi Verschelde
306cbeb9fc
Merge pull request #66748 from EricEzaM/66308-66403-menubutton-improvements
...
Improve MenuButton and OptionButton
2022-10-03 14:51:45 +02:00
Rémi Verschelde
d598fff7c2
Merge pull request #66803 from akien-mga/core-remove-NO_THREADS
...
Remove `NO_THREADS` fallback code, Godot 4 requires thread support
2022-10-03 14:51:02 +02:00
Rémi Verschelde
04a28763c0
Merge pull request #65751 from Faless/os/4.x_expose_read_from_stdin
2022-10-03 14:08:00 +02:00
Emi
d196a07ea4
Replacing File calls from the FileAccess class docs
...
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-10-03 13:04:40 +02:00
Rémi Verschelde
f501e4f665
Unix: Remove now unnecessary I/O defines, cleanup
...
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_.
- `NO_NETWORK` is also never defined. It probably isn't enough anyway to
disable network APIs in the current codebase.
- `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some
other platforms, clarify that.
- `NO_STATVFS` can be removed as Android supports it since API level 19,
which is our current min SDK level. It's also only used for
`DirAccessUnix::get_space_left()` which is anyway overridden by
`DirAccessJAndroid::get_space_left()` so it shouldn't make a difference.
* Fixed documentation for `DirAccess.get_space_left()`.
- `NO_FCNTL` is likely also a remnant of early Android days, in current NDK
r23 it seems to be available. Also cleaned up unused `fcntl.h` includes.
- `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-03 12:33:41 +02:00
EricEzaM
272c297931
Improve MenuButton and OptionButton
...
* MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs)
* MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403 ). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
2022-10-03 20:07:39 +10:00
Rémi Verschelde
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
Rémi Verschelde
9c2894180d
Merge pull request #66387 from aaronfranke/cs-basis-euler
...
C#: Update Basis Euler angle code to match core
2022-10-03 09:26:16 +02:00
Rémi Verschelde
a377c5ca22
Merge pull request #66655 from MisterMX/feat/astargrid2d-vector2i
...
refactor(AStarGrid2D): Return `Vector2i` in `get_id_path`
2022-10-03 09:24:40 +02:00
Micky
f4b58c6220
Improve AtlasTexture's Documentation
...
Reduces repetition, rearranges sentences to improve structure, attempts to be more impersonal ("clips" -> "is_clipped") and consistent with other more common classes.
Also remove outdated snippet from the description ("cannot be tiled in nodes such as TextureRect" is no longer true in master).
2022-09-30 20:27:52 +02:00
Rémi Verschelde
166df0896c
Fix typos with codespell
...
Using codespell 2.3-dev from current git.
And fix typo in `methods.py` for `vsproj=yes` option (still won't work
though).
2022-09-30 14:23:36 +02:00
MisterMX
bf19a1d3b3
refactor(AStarGrid2D): Return Vector2i in get_id_path
...
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-30 12:02:28 +02:00
clayjohn
a09bb9037e
Use mobile as the default rendering method on mobile when vulkan is supported
2022-09-30 09:57:00 +02:00
Victor Karp
43fe12e94e
Fix missing "s" at the end of word in OS.move_to_trash()
description
...
Change "Do not use it for files in res:// as it will not work in
exported project." to "[...] projects."
2022-09-29 20:59:49 +02:00
Rémi Verschelde
7c7a86f0fd
Merge pull request #66592 from KoBeWi/look_at_me_I_am_the_captain_now
...
Fail `look_at()` if not inside tree
2022-09-29 15:34:08 +02:00
Rémi Verschelde
f5f4d9bf00
Merge pull request #66143 from DarkKilauea/nav-queries-agent
...
Update NavigationAgent to use query_path
2022-09-29 15:33:25 +02:00
kobewi
c080b9dc05
Fail look_at() if not inside tree
2022-09-29 13:34:28 +02:00
Josh Jones
a2c53b881b
Update NavigationAgent to use query_path
...
This paves the way for having agents respond to link traversal.
2022-09-28 23:01:12 -06:00