Rémi Verschelde
d2e1b4b9f0
Merge pull request #68118 from aaronfranke/quat-from-euler
...
Replace Quaternion Euler constructor with `from_euler` method
2022-11-02 18:51:59 +01:00
Rémi Verschelde
62ed75df9c
Merge pull request #64830 from dalexeev/color-hide-internals
...
Remove internal functions of named colors from the public API
2022-11-02 18:51:27 +01:00
Rémi Verschelde
d3a6855dfc
Merge pull request #66361 from dalexeev/remove-int-plus-string
...
Unexpose confusing `String + int` and `int + String` operations
2022-11-02 18:51:16 +01:00
Rémi Verschelde
76092fb684
Merge pull request #63956 from xiongyaohua/interpolate_on_curve2d
...
Move rotation interpolation logic from PathFollower2D to Curve2D
2022-11-02 18:50:48 +01:00
Alfred Reinold Baudisch
a862583d05
Unified shortcut to clear carets and selections
...
Refactors`ui_text_remove_secondary_carets` from https://github.com/godotengine/godot/pull/68089 as `ui_text_clear_carets_and_selection`, with extra behaviour:
- If there's only one active caret active with a selection, clears the selection.
- In case there's more than one caret active, removes the secondary carets and clears selections.
With this change, `TextEdit` then imitates the behaviour of VSCode for clearing carets and selections.
2022-11-02 18:23:24 +01:00
Rémi Verschelde
604abb434f
Merge pull request #52350 from BimDav/viewport_canvas_cull
...
Added Viewport canvas cull mask feature
2022-11-02 17:14:24 +01:00
Rémi Verschelde
06c8e406e4
Merge pull request #63335 from Spartan322/button-shortcut-feedback
...
Make `BaseButton` Shortcut feedback togglable
2022-11-02 17:14:00 +01:00
Fabio Alessandrelli
33dda2e68a
[MP] Remove connection state signals from MultiplayerPeer.
...
Now handled directly by the MultiplayerAPI implementation.
2022-11-02 15:17:23 +01:00
kobewi
f5981ff19d
Add a separate hue gradient for OKHSL mode
2022-11-02 14:44:41 +01:00
Rémi Verschelde
632b3e974c
Merge pull request #67693 from Mickeon/slight-hint-shuffling
...
Fix unordered values of PROPERTY_HINT_INT_IS_POINTER & ARRAY_TYPE
2022-11-02 14:16:53 +01:00
Micky
ebf86c96e9
Rename Image's `get_rect` to `get_region`
...
Also renames its parameter to from "rect" to "region".
2022-11-01 23:35:48 +01:00
kleonc
bbd225a804
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-01 21:17:18 +01:00
Fabio Alessandrelli
0a0e99cadc
Merge pull request #67982 from Faless/mp/4.x_disconnect_close
...
[MP] Add MultiplayerPeer disconnect_peer, close.
2022-11-01 20:35:04 +01:00
Aaron Franke
83634119d4
Replace Quaternion Euler constructor with `from_euler` method
2022-11-01 09:28:12 -05:00
Rémi Verschelde
e6751549cf
Merge pull request #68089 from alfredbaudisch/remove-secondary-carets
...
Shortcut and Bind to Remove Secondary Carets
2022-11-01 08:25:06 +01:00
Yaohua Xiong
399c2a8dea
Move rotation sampling from Path2D to Curve2D
...
The rotation sampling code is moved from Path2D to a new method
`sample_baked_with_rotation` on Curve2D.
2022-11-01 13:18:52 +08:00
kobewi
4aa1efb0fe
Add set_value_no_signal() to Range
2022-10-31 23:59:01 +01:00
Rémi Verschelde
c29fe310f1
Fixup classref markup after #62416
2022-10-31 23:35:12 +01:00
Rémi Verschelde
2bd9a6fe8d
Merge pull request #68044 from ztc0611/ios-promotion
...
Add ProMotion/High Refresh Rate Support to iOS Exports
2022-10-31 23:03:30 +01:00
Rémi Verschelde
778ffce1e3
Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish
...
Request attention on the editor window when done recording a movie
2022-10-31 23:03:21 +01:00
Alfred Reinold Baudisch
fcff978763
Shortcut and Bind to Remove Secondary Carets
...
Adds the bind `ui_text_remove_secondary_carets` to TextEdit, with ESC as the default shortcut.
When the bind is performed, if the TextEdit has multiple carets, `remove_secondary_carets` is called and secondary carets are removed.
This is useful when multiple selects are performed with `add_select_for_next_occurrence` #67644 or when multiple multiple carets are manually added, then it's possible to go back to a single caret with a shortcut.
Closes #67991
2022-10-31 17:44:47 +01:00
Rémi Verschelde
9019c5fbd7
Merge pull request #68051 from kleonc/array-fill-docs-note
...
[Docs] Clarify `Array.fill` behavior when reference type is passed in
2022-10-31 15:54:40 +01:00
Rémi Verschelde
19195bec2d
Merge pull request #67933 from bruvzg/ds_hide_window_creation
...
[DisplayServer] Hide internal window creation/deletion methods and expose some missing methods.
2022-10-31 15:54:33 +01:00
Matthew
2ccd827453
Merge pull request #68055 from Lielay9/patch-1
...
Fix typo minimize button -> maximize button
2022-10-31 10:35:29 -04:00
bruvzg
9f46bf44cd
[DisplayServer] Hide internal window creation/deletion methods and expose some missing methods.
2022-10-31 16:17:45 +02:00
Zach Coleman
601c42be66
Add ProMotion Support to iOS Exports
2022-10-31 09:33:39 -04:00
Rémi Verschelde
cd25e48456
Merge pull request #67562 from bruvzg/improve_font_packing
...
Improve font glyph cache packing shelf best height fit heuristic.
2022-10-31 14:26:13 +01:00
BimDav
fcb9be66a2
Viewport canvas cull mask feature
...
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31 14:09:49 +01:00
Raul Santos
82dac64659
Change exclude property in `PhysicsRayQueryParameters3D` to TypedArray
...
Change type of exclude property from `Vector<RID>` to `TypedArray<RID>` which is consistent with the 2D version.
2022-10-31 13:44:46 +01:00
Rémi Verschelde
4b92533efa
Merge pull request #68073 from timothyqiu/marker-3d-extents
...
Make Marker3D gizmo resizable
2022-10-31 12:17:13 +01:00
Rémi Verschelde
71a6aba3d7
Merge pull request #67710 from KoBeWi/a_bit_local_global_transform
...
Remove error condition from get_global_transform()
2022-10-31 11:59:08 +01:00
Rémi Verschelde
0844f0ed10
Merge pull request #65452 from timothyqiu/agent-target
...
Make NavigationAgent `target_location` a property
2022-10-31 11:56:17 +01:00
Rémi Verschelde
33c7c8020a
Merge pull request #67489 from timothyqiu/auto-select-all
...
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-31 11:55:06 +01:00
Rémi Verschelde
b6cbea5e58
Merge pull request #63590 from golfinq/fbg-padding
...
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31 11:14:55 +01:00
Rémi Verschelde
51cd380167
Merge pull request #64659 from Streq/patch-1
...
add polygons property description in Polygon2D
2022-10-31 11:00:12 +01:00
Rémi Verschelde
8b1a42cd47
Merge pull request #67888 from KoBeWi/overridead
...
Remove `override_selected_font_color` property
2022-10-31 10:59:07 +01:00
Rémi Verschelde
273410ba5a
Merge pull request #67139 from PucklaMotzer09/insert_caret_at_carets
...
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-31 10:32:07 +01:00
Haoyu Qiu
3ded27c62d
Make Marker3D gizmo resizable
2022-10-31 15:19:48 +08:00
streq
de66acc624
clarify [member polygons] functionality in the Polygon2D class documentation
2022-10-30 20:32:36 -03:00
Hei
293ed314fd
Fix typo minimize button -> maximize button
...
Seems like a typo.
2022-10-30 16:28:44 +02:00
kleonc
221a89f2ef
Docs Clarify `Array.fill` behavior when reference type is passed in
2022-10-30 13:42:24 +01:00
Anutrix
c9b467ac15
Added missing docs to built-in types float and int
2022-10-30 17:53:59 +05:30
Max Hilbrunner
ad3f2a2340
Merge pull request #67945 from Mickeon/doc-consistency-inspector
...
Doc consistency: tweak "inspector" Vs. "Inspector"
2022-10-30 12:09:47 +01:00
Max Hilbrunner
9fb481334a
Merge pull request #68039 from Anutrix/docs-fix-signal-syntax
...
Fixed signal connection examples to use new callable syntax in the docs
2022-10-30 12:03:37 +01:00
Anutrix
7984598e33
Fixed signal connection examples to use new callable syntax in the docs
2022-10-30 05:26:46 +05:30
Max Hilbrunner
6ac7afe7a7
Merge pull request #67836 from stevecotton/particles_demo_link
...
doc: link GPUParticles2D to a more appropriate demo
2022-10-30 00:10:56 +02:00
Max Hilbrunner
f3e2f78b21
Merge pull request #67923 from Calinou/doc-displayserver
...
Document the DisplayServer class
2022-10-30 00:08:50 +02:00
Max Hilbrunner
11d74d606a
Merge pull request #67980 from DeeJayLSP/webpcase
...
Change all WEBP strings and comments to WebP
2022-10-29 19:28:47 +02:00
Haoyu Qiu
3aed3edc06
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-29 09:58:42 +08:00
Fabio Alessandrelli
39f3d9d59e
[MP] Add MultiplayerPeer disconnect_peer, close.
...
Update ENet, WebRTC, and WebSocket to support peer disconnection and
unify the close function.
2022-10-28 21:18:01 +02:00
DeeJayLSP
dd64ceab47
Change all WEBP strings and comments to WebP
2022-10-28 15:17:49 -03:00
Clay John
ada2661a2c
Merge pull request #67956 from RedMser/safe-velocity-type
...
Fix type of `safe_velocity` parameter
2022-10-28 10:57:46 -07:00
Clay John
e3b66ff9e3
Merge pull request #67621 from groud/resource_saver_expose_recognize_path
...
Expose the logic to recognize a save path in ResourceSaver
2022-10-28 10:56:32 -07:00
Gilles Roudière
e23f82f3c1
Expose the logic to recognize a save path in ResourceSaver
2022-10-28 11:15:25 +02:00
Max Hilbrunner
9ff3a43a32
Merge pull request #67957 from zCubed3/fix_headless_crash
...
Fix `OS.get_video_adapter_driver_info` crash on headless godot
2022-10-28 03:32:59 +02:00
Clay John
0486810697
Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrence
...
Add Selection and Caret for Next Occurrence of Selection
2022-10-27 17:21:49 -07:00
zCubed3
e7091d07cd
Fix OS.get_video_adapter_driver_info crash
2022-10-27 15:45:21 -07:00
RedMser
b9c3a5534b
Fix type of safe_velocity parameter
2022-10-27 22:45:24 +02:00
Clay John
24e788e9be
Merge pull request #67874 from Calinou/doc-vector3-vector4i
...
Document the Vector3 and Vector4i classes
2022-10-27 12:48:34 -07:00
Clay John
8fd92ed867
Merge pull request #64710 from MinusKube/window-size-crash
...
Prevent windows from having a size greater than device limit
2022-10-27 10:02:44 -07:00
Clay John
e1caa8797b
Merge pull request #67043 from clayjohn/clip_children
...
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-27 09:59:27 -07:00
Clay John
5f575bf1fa
Merge pull request #67861 from IanGaither/textfile-alignment-documentation
...
TextLine - Added description for alignment member
2022-10-27 09:51:19 -07:00
Steve Cotton
6db9752f23
doc: link GPUParticles2D to the 2D Particles demo
...
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.
2022-10-27 18:46:56 +02:00
Clay John
682156e1f0
Merge pull request #66383 from aaronfranke/basis-from-euler
...
Clean up Basis from Euler code
2022-10-27 09:44:21 -07:00
Micky
9de7b1afce
Doc consistency: "inspector" to "Inspector"
...
Also fixes a slightly misleading comment in `Node.print_tree_pretty`.
2022-10-27 18:41:20 +02:00
Hugo Locurcio
0fce78355d
Document the DisplayServer class
...
This also adds a link to the Command line tutorial on pages
that reference command line arguments, as the page covers some
general usage tips for CLI arguments (especially on macOS).
2022-10-27 18:24:55 +02:00
Fabio Alessandrelli
7536d15fe3
[MP] Let MultiplayerAPI handle packet relaying and peer signaling.
...
MultiplayerPeer changes:
- Adds is_server_relay_supported virtual method
Informs the upper MultiplayerAPI layer if it can signal peers connected
to the server to other clients, and perform packet relaying among them.
- Adds get_packet_channel and get_packet_mode virtual methods
Allows the MultiplayerAPI to retrieve the channel and transfer modes to
use when relaying the last received packet.
SceneMultiplayerPeer changes:
- Implement peer signaling and packet relaying when the MultiplayerPeer
advertise they are supported.
ENet, WebRTC, WebSocket changes:
- Removed custom code for relaying from WebSocket and ENet, and let it
be handled by the upper layer.
- Update WebRTC to split create_client, create_server, and create_mesh,
with the latter behaving like the old initialize with
"server_compatibility = false", and the first two supporting the upper
layer relaying protocol.
2022-10-27 18:08:58 +02:00
Haoyu Qiu
e4100495b5
Make NavigationAgent `target_location` a property
2022-10-27 13:51:38 +08:00
Hugo Locurcio
7d7b4210f6
Document the Vector3 and Vector4i classes
2022-10-27 02:50:37 +02:00
kobewi
64fc443e24
Warn if isometric TileMap is not Y-sorted
2022-10-26 14:27:58 +02:00
kobewi
499797b2ce
Fix documentation about custom user dir
2022-10-26 14:14:39 +02:00
kobewi
c7eb814ede
Remove override_selected_font_color property
2022-10-26 12:59:18 +02:00
Hugo Locurcio
f613db0db9
Add Black (OLED) editor theme preset
...
This preset uses a fully black background to reduce power usage on OLED
displays, leading to increased battery life on laptops with OLED displays.
This preset is also useful for late night sessions, as OLED displays
have a near-infinite contrast ratio.
This also adds a Draw Extra Borders editor setting which draws borders
around some interactive nodes. This setting is required for good
usability of a theme with a fully black background.
Visibility of disabled text (including unselected tab names) has been
slightly increased for better accessibility, regardless of the editor
theme preset in use.
2022-10-26 01:23:53 +02:00
Max Hilbrunner
69e5ad7f09
Merge pull request #67098 from Calinou/doc-light-no-scale
...
Document (Omni/Spot)Light3D ignoring Node3D's `scale` property
2022-10-25 14:31:07 +02:00
Max Hilbrunner
035b5b76a0
Merge pull request #67833 from Calinou/doc-animation
...
Document the Animation class
2022-10-25 14:29:12 +02:00
Max Hilbrunner
1425b4ee09
Merge pull request #67841 from Calinou/doc-basematerial3d
...
Document the BaseMaterial3D class
2022-10-25 14:23:36 +02:00
Max Hilbrunner
d49ef5fea8
Merge pull request #67768 from Calinou/doc-debanding
...
Document debanding only affecting 3D rendering by default
2022-10-25 14:15:47 +02:00
Ian Gaither
3bfac8f0c3
Update TextLine.xml
2022-10-24 20:43:28 -07:00
Hugo Locurcio
d5ded67458
Document the CanvasTexture class
2022-10-24 21:57:58 +02:00
Hugo Locurcio
185695dda9
Document (Omni/Spot)Light3D ignoring Node3D's `scale` property
2022-10-24 18:49:15 +02:00
Hugo Locurcio
fb742cb16f
Document the BaseMaterial3D class
...
This makes the class 100% documented again.
2022-10-24 18:40:01 +02:00
Hugo Locurcio
9e7ec78c6b
Document the Animation class
2022-10-24 17:06:32 +02:00
Hugo Locurcio
8777f38089
Document debanding only affecting 3D rendering by default
2022-10-24 16:18:59 +02:00
Fredia Huya-Kouadio
8b37511364
Merge pull request #67755 from m4gr3d/input_event_screen_touch_double_tap_main
...
Add double_tap attribute to InputEventScreenTouch
2022-10-23 08:11:49 -07:00
Max Hilbrunner
09f4ec7988
Merge pull request #67677 from rsubtil/doc_popupmenu
...
Document PopupMenu "id_pressed" behavior
2022-10-23 15:00:06 +02:00
Teggy
2b08675f37
Add alignment options to flow container
2022-10-23 13:40:17 +02:00
Max Hilbrunner
0b627c4133
Merge pull request #67718 from Mickeon/doc-peeves-the-constant-burden
...
Tweak `@GlobalScope` constants documentation overall
2022-10-22 21:30:56 +02:00
Fredia Huya-Kouadio
13e4770b97
Add double_tap attribute to InputEventScreenTouch
...
This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
2022-10-22 07:30:46 -07:00
smix8
79d0cde64b
Fix class doc for TileMap navigation visibility mode
...
fix small copy&paste error
2022-10-22 02:46:16 +02:00
Max Hilbrunner
efd2a8ac23
Merge pull request #67725 from TokageItLab/add-tuts-link-retarget
...
Add a tutorial link to `BoneMap` and `SkeletonProfile`
2022-10-22 01:06:08 +02:00
Aaron Franke
7f9a8c99c9
Clean up Basis from Euler code
2022-10-21 17:54:49 -05:00
Silc Renew
e7d0a2198b
Add a tutorial link to Retarget Classes
2022-10-22 02:56:16 +09:00
Micky
965f6e40ef
Tweak `@GlobalScope` constants documentation overall
...
General:
- Replace most type names with strong references (such as "integer" to "[int]");
- Made the writing style closer to how the rest of the documentation is formatted.
- Use uppercase Inspector when referring to the Inspector dock.
- Describe missing MethodFlags, Variant.Type constants.
Key:
- Add " key." to the `KEY_0` to `KEY_9` constants;
- Reword some MouseButton constants;
- In a programming context, it's kind of odd hearing about the plural of "mouse".
Error:
- Reword OK constant to flow better, use `printerr()` over `print()`;
- Describe where `ERR_HELP` is used by the engine;
- Point to the Github Issues Page in ERR_BUG.
PropertyHint:
- Mention that PROPERTY_HINT_IMAGE_COMPRESS_LOSSY and PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS are unused;
- Mention that PROPERTY_HINT_PASSWORD allows a placeholder string.
- Describe PROPERTY_HINT_OBJECT_TOO_BIG, PROPERTY_HINT_MAX.
PropertyUsageFlags:
- Describe PROPERTY_USAGE_HIGH_END_GFX, PROPERTY_USAGE_ARRAY.
2022-10-21 19:52:09 +02:00
Max Hilbrunner
f77f7d4ba9
Merge pull request #67072 from Mickeon/uh-oh-stinky
...
Rewrite most of Resource's documentation
2022-10-21 18:42:44 +02:00
Max Hilbrunner
5b84583b95
Merge pull request #67254 from TechnoPorg/doc-projection-class
...
Fully document the Projection class.
2022-10-21 18:38:32 +02:00
Max Hilbrunner
05e68196c3
Merge pull request #67648 from Calinou/doc-cylindershape3d-bugs
...
Document known issues with CylinderShape3D
2022-10-21 18:35:06 +02:00
Max Hilbrunner
13138b307b
Merge pull request #67656 from MewPurPur/instance 🧹
...
Fix minor mistakes throughout the documentation
2022-10-21 18:19:32 +02:00
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
Hugo Locurcio
66f7c48e39
Implement adjusting the maximum number of physics steps per rendered frame
...
When using high physics FPS (which is a requirement to minimize input
lag and improve precision in simulation racing games), a higher value
prevents the game from slowing down at low rendering FPS.
This can be done via an Engine property for run-time changes,
or a project setting for initial changes.
2022-10-09 23:00:09 +02: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
ef8834a642
Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy
...
ci: add Python static analysis check via mypy
2022-09-30 17:44:39 +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
Jiri Suchan
c5bd2f9dce
ci: add Python static analysis check via mypy
2022-09-30 19:03:17 +07: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
Rémi Verschelde
f8745f2f71
Merge pull request #66103 from Zylann/bind_property_usage_read_only
2022-09-29 00:09:51 +02:00
Marc Gilleron
856466ed02
Expose `PROPERTY_USAGE_READ_ONLY`
2022-09-28 22:50:55 +01:00
Rémi Verschelde
ba25a6e93b
Merge pull request #66549 from MisterMX/tilemap-get-used-rect
...
refactor(TileMap): Return `Rect2i` in `get_used_rect`
2022-09-28 20:49:29 +02:00
MisterMX
407bbdda20
refactor(TileMap): Return Rect2i in get_used_rect
...
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-28 17:04:15 +02:00
RedMser
fd8097192f
Fix Control.get_global_rect documentation
...
It uses `get_global_position` internally, which is relative to the
current canvas layer (unlike `get_screen_position`).
2022-09-28 15:14:14 +02:00
Rémi Verschelde
14e1f36e61
Merge pull request #66492 from bruvzg/gde_ts_underscr
...
[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.
2022-09-28 12:12:29 +02:00
Rémi Verschelde
45d0033188
Merge pull request #65898 from konczg/add_passthrough_extension_wrapper
...
Add passthrough extension wrapper
2022-09-28 10:08:15 +02:00
bruvzg
8f5d56e04a
[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.
2022-09-28 10:04:11 +03:00
Rémi Verschelde
0f1efa7c55
i18n: Sync classref translations with Weblate (3.5 branch)
...
(cherry picked from commit 8dbd40db65
)
2022-09-27 23:51:12 +02:00
Gabor Koncz
72203a4da4
Add Passthrough extension wrapper
2022-09-27 12:26:53 +02:00
Aaron Franke
fe7135344b
C#: Update Basis Euler angle code to match core
2022-09-25 22:28:52 -05:00
Rémi Verschelde
ef26618359
Merge pull request #66290 from 4d49/physics2d-area-methods
...
add `area_get_collision_layer` &`area_get_collision_mask`
2022-09-25 17:08:55 +02:00
Rémi Verschelde
d456dce8af
Merge pull request #65535 from RedMser/script-editor-inheritance-icon
...
Show override icon in script editor gutter
2022-09-25 17:08:45 +02:00
smix8
c87ad9d7c1
Add missing postprocessing doc for PathQueryParameters
2022-09-25 15:48:43 +02:00
Mansur Isaev
efd4dc20a3
Add `area_get_collision_layer` and `area_get_collision_mask`
2022-09-25 14:34:35 +04:00
Danil Alexeev
453c5ef682
Remove confusing `String + int` and `int + String` operations
2022-09-24 18:13:44 +03:00
Zak Grumbles
e5dc2ed982
Add note regarding RefCounted to EditorScript docs
2022-09-23 16:55:19 -05:00
clayjohn
36cb3c4050
Set QuadMesh default size back to 1
2022-09-23 11:00:43 -07:00
Rémi Verschelde
006e345695
Merge pull request #65817 from bruvzg/typed_array
2022-09-23 10:24:46 +02:00
Rémi Verschelde
ee95cc0b79
Merge pull request #66177 from rburing/callable_callv
...
add `callv` method
2022-09-23 09:45:02 +02:00
Aaron Franke
c3970f8fe5
Revert custom_minimum_size type back to Vector2 instead of Vector2i
2022-09-22 19:09:12 -05:00
bruvzg
163257d51b
[GDExtension] Implement support for typed arrays.
2022-09-22 23:31:27 +03:00
bruvzg
0dab11afa4
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
2022-09-22 23:09:56 +03:00
Rémi Verschelde
8e14f9ba21
Merge pull request #64679 from DarkKilauea/nav-region-props
...
Improve consistency of NavigationRegion setters
2022-09-22 08:27:35 +02:00
Rémi Verschelde
d96b7d767a
Merge pull request #66110 from Zylann/reference_get_count
...
get_reference_count()`
2022-09-22 08:26:29 +02:00
Josh Jones
a25bb9811a
Improve consistancy of NavigationRegion setters
2022-09-21 22:42:52 -07:00
Rémi Verschelde
e5c544750c
Merge pull request #66234 from KoBeWi/dir_access_denied
...
Fix wrong DirAccess example
2022-09-22 06:12:13 +02:00
Rémi Verschelde
6e773f7124
Merge pull request #66232 from Evanaellio/fix-tool-annotation
...
Fix code examples for @tool annotation
2022-09-22 06:08:07 +02:00
Matthew
4ea2703eee
Merge pull request #66230 from Evanaellio/swap-resourcesaver-save-arguments
...
Swap arguments of ResourceSaver.save()
2022-09-21 19:15:44 -04:00
kobewi
185be4a788
Fix wrong DirAccess example
2022-09-21 23:43:52 +02:00
Evanaellio
6eac901ecb
Fix code examples for @tool annotation
2022-09-21 22:52:55 +02:00
Micky
c1b5b68eee
Rename remaining "*_enable" to "*_enabled"
...
Material.`proximity_fade_enable` -> `proximity_fade_enabled`
Material.`set_proximity_fade` -> `set_proximity_fade_enabled`
(Material.`is_proximity_fade_enabled` is unchanged)
Area3D.`reverb_bus_enable` -> `reverb_bus_enabled`
(`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged)
RDPipelineRasterizationState:
`depth_bias_enable` -> `depth_bias_enabled`
`set_depth_bias_enable` -> `set_depth_bias_enabled`
`get_depth_bias_enable` -> `get_depth_bias_enabled`
Bonus:
Area3D.`set_reverb_bus` -> `set_reverb_bus_name`
Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
2022-09-21 22:47:46 +02:00
Evanaellio
1acd0f1bab
Swap arguments of ResourceSaver.save()
2022-09-21 22:26:48 +02:00
Marc Gilleron
474cee7daf
Rename and expose `RefCounted::get_reference_count()`
2022-09-21 21:18:54 +01:00
Rémi Verschelde
0b06f8b0bd
Merge pull request #65816 from bruvzg/proj_settings_missing_flags
...
Add missing initial window flags and window mode to the project settings.
2022-09-21 18:56:31 +02:00
Rémi Verschelde
057dd292e4
Merge pull request #62666 from AThousandShips/tree_folding
...
Tree recursive folding (like Scene Tree Dock)
2022-09-21 15:36:43 +02:00
Danil Alexeev
df2209c700
Add `CollisionShape2D.debug_color` property
2022-09-21 16:07:47 +03:00
Ninni Pipping
df9eaf5f47
Tree recursive folding
2022-09-21 13:28:29 +02:00
Rémi Verschelde
85a46d36b5
Merge pull request #66096 from 4d49/decompose-polygon-in-convex
...
Add method bind for `Geometry2D.decompose_polygon_in_convex`
2022-09-21 13:26:08 +02:00
Rémi Verschelde
9521849da6
Merge pull request #62429 from smix8/navigation_path_query_4.x
...
Add NavigationPathQuery objects and NavigationServer query_path()
2022-09-21 13:25:48 +02:00
Rémi Verschelde
e9ce59b342
Merge pull request #66201 from asmaloney/doc-error-magnitude
...
[doc] Fix Quaternion "angle_to" docs
2022-09-21 11:07:04 +02:00
Rémi Verschelde
7bf61e3912
Merge pull request #64359 from Mickeon/rename-camera-rotating
...
Reverse Camera2D.`rotating` to `ignore_rotation`
2022-09-21 11:06:41 +02:00
Rémi Verschelde
28e1dc6162
Merge pull request #65828 from rburing/body_state_sync_callable
...
make `body_set_state_sync_callback` take a `Callable`
2022-09-21 11:05:41 +02:00
Andy Maloney
02aa4fbe65
[doc] Fix Quaternion "angle_to" docs
...
Related to discussion in #64551
2022-09-21 02:53:05 -04:00
Ricardo Buring
0c2055d15d
Callable: add callv method
...
This method can be called from GDExtension.
2022-09-21 08:25:48 +02:00
Mansur Isaev
623e23c625
Add method bind for `Geometry2D.decompose_polygon_in_convex`
2022-09-21 09:40:03 +04:00
Micky
ee16de583f
Reverse Camera2D.`rotating` to `ignore_rotation`
...
`rotating` is misleading, as Camera2D is affected by `rotation` and `global_rotation` like any other Node2D
Updates description in the docs, as well.
2022-09-21 01:52:12 +02:00
RedMser
a9b394d5bc
Show method override icon in script editor gutter
...
Combines with the connection slot icon when both apply.
Can be clicked to jump to the method declaration (or documentation for
built-in classes).
2022-09-21 01:49:54 +02:00
Rémi Verschelde
b809b6d97e
Merge pull request #66120 from RedMser/json-spec-docs
...
Add documentation note about `JSON.parse` not being spec compliant
2022-09-21 00:19:52 +02:00
Rémi Verschelde
ae2d9be0fe
Merge pull request #63740 from Faless/net/4.x_http_request_decompress
...
[HTTP] Implement streaming decompression.
2022-09-20 22:29:16 +02:00
smix8
63dcb9aa80
Add NavigationPathQuery
...
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
2022-09-20 22:20:11 +02:00
Fabio Alessandrelli
273ba0794f
[IO] Add StreamPeerGZIP for streaming compression/decompression.
...
Putting data results in writing the compressed/decompressed output into
a RingBuffer.
You can retrieve the content of the RingBuffer via get_data.
Support both gzip and deflate.
2022-09-20 18:39:10 +02:00
RedMser
f225bfe28c
Add note about JSON.parse not being spec compliant
2022-09-20 18:14:08 +02:00
VolTer
cc7b80acbc
Improve some Text Editor editor settings
2022-09-20 18:00:21 +02:00
Rémi Verschelde
d8d10c30d0
Merge pull request #60408 from KoBeWi/statically_typed_directories
...
Introduce more static methods to directory API
2022-09-20 15:36:49 +02:00
Rémi Verschelde
a23ba42f98
Merge pull request #63594 from Faless/img/4.x_loader_ext
...
[Core] Make ImageFormatLoader extensible.
2022-09-20 15:36:32 +02:00
kobewi
cad1d27a6f
Introduce more static methods to directory API
2022-09-20 14:22:45 +02:00
bruvzg
0ed4cc6287
[macOS] Add an option to align window buttons in "extend to title" mode.
2022-09-20 12:55:59 +03:00
Rémi Verschelde
7da532275b
Merge pull request #65541 from clayjohn/renderer-setting
...
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-20 09:43:59 +02:00
Rémi Verschelde
7bb1af84f6
Merge pull request #66122 from raulsntos/dotnet/FirAccess 🌲 -docs
...
Improve C# documentation for FileAccess and DirAccess
2022-09-20 08:41:53 +02:00
Rémi Verschelde
7a4faba136
Merge pull request #66127 from RedMser/vs-cleanup
...
Further cleanup of VisualScript references
2022-09-20 08:41:47 +02:00
Rémi Verschelde
f97b164330
Merge pull request #65880 from paulloz/dotnet/class-ref
...
Add new C# code blocks to class ref pages
2022-09-20 08:41:34 +02:00
Fabio Alessandrelli
e8fc6bfeb5
[Core] Make ImageFormatLoader extensible.
2022-09-20 02:01:57 +02:00
Rémi Verschelde
73c35e8d95
Merge pull request #65918 from clayjohn/quadmesh
...
Add QuadMesh back as a subclass of PlaneMesh.
2022-09-19 22:03:17 +02:00
Rémi Verschelde
82961dda3d
Merge pull request #66108 from Zylann/editor_inspector_get_selected_path
...
Expose `EditorInspector.get_selected_path`
2022-09-19 22:01:32 +02:00
RedMser
5c5c3ab90e
Further cleanup of VisualScript references
2022-09-19 21:37:26 +02:00
Paul Joannon
2316c3a3a9
Add new C# code blocks to class ref pages
...
- AStarGrid2D
- Engine
- Font
- Node
- OS
- Tweens
2022-09-19 19:38:29 +02:00
clayjohn
4a1c7de57c
Split rendering driver project setting into renderer_name and rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19 10:26:10 -07:00
Raul Santos
95393c310d
Improve C# documentation for FileAccess and DirAccess
...
- Adds using statements to C# examples to ensure the resources are freed after usage
- Adds explanation about the importance of disposing the FileAccess now that we don't have a close method
2022-09-19 18:46:44 +02:00
clayjohn
87710517fa
Add QuadMesh back as a subclass of PlaneMesh.
...
This simplifies the creation of billboarded meshes without any code overhead.
2022-09-19 08:53:10 -07:00
Marc Gilleron
cee8bd9e76
Expose `EditorInspector.get_selected_path`
2022-09-19 15:20:34 +01:00
Rémi Verschelde
ec60c4ee9e
Merge pull request #65271 from KoBeWi/FirAccess 🌲
...
Replace File/Directory with FileAccess/DirAccess
2022-09-19 15:33:24 +02:00
Rémi Verschelde
4ebf7d14ac
Merge pull request #66079 from Zylann/project_settings_restart
...
Expose ProjectSettings.set_restart_if_changed(name, restart)
2022-09-19 15:33:11 +02:00
Rémi Verschelde
1445b052b4
Merge pull request #66104 from Zylann/notification_local_transform_changed
...
Expose Node3D `NOTIFICATION_LOCAL_TRANSFORM_CHANGED`
2022-09-19 15:32:43 +02:00
Rémi Verschelde
2d01768618
Merge pull request #66097 from Zylann/make_atlas_vec2i
...
make_atlas`
2022-09-19 15:32:28 +02:00
Rémi Verschelde
d4f8418582
Merge pull request #66080 from Zylann/editor_property_set_read_only
...
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 15:32:16 +02:00
Marc Gilleron
2a8aeddc93
Expose ProjectSettings.set_restart_if_changed(name, restart)
2022-09-19 13:57:07 +01:00
Marc Gilleron
c00c29a136
Expose `NOTIFICATION_LOCAL_TRANSFORM_CHANGED`
2022-09-19 13:43:46 +01:00
kobewi
a43319b6c9
Restore numeric from String constructors
2022-09-19 14:31:16 +02:00
Marc Gilleron
056a418862
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 11:56:49 +01:00
Marc Gilleron
700bb066e0
Use `Vector2i` when returning atlas size in `Geometry2D::make_atlas`
2022-09-19 11:37:02 +01:00
bruvzg
d104a4cdbd
Add missing initial window flags and window mode to the project settings.
2022-09-19 12:30:10 +03:00
kobewi
9f2dc68279
Replace File/Directory with FileAccess/DirAccess
2022-09-19 11:03:31 +02:00
Rémi Verschelde
97a6c9f16d
Merge pull request #66070 from KoBeWi/call_of_undo
...
Change UndoRedo to use Callables
2022-09-19 09:23:32 +02:00
Rémi Verschelde
49891e4c2f
Merge pull request #65915 from clayjohn/VULKAN-mobile-fog
...
Restore fog in vulkan mobile renderer.
2022-09-19 09:23:24 +02:00
kobewi
b3997191d8
Change UndoRedo to use Callables
2022-09-18 23:52:50 +02:00
Rémi Verschelde
0bb57bd9f2
Merge pull request #65931 from fabriceci/add-recovery-as-collision-in-low-level-methods
...
Add recovery_as_collision in move_and_collide/test_move
2022-09-18 00:42:29 +02:00
Micky
eb0cc08a23
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
...
AudioStreamPlayer3D.`unit_db` -> `volume_db`
Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-17 16:06:30 +02:00
fabriceci
a72d5be2c6
Add recovery_as_collision in move_and_collide/test_move
2022-09-17 11:40:03 +02:00
SaracenOne
6a8fbf3d25
Fix animation change callbacks
2022-09-16 14:04:24 -07:00
clayjohn
2ecc8b9a73
Restore fog in vulkan mobile renderer.
...
The condition accidentally disabled fog whenever it was enabled
2022-09-16 09:18:11 -07:00
Hugo Locurcio
7dee32ad14
Tweak LightmapGI defaults to be closer to the CPU lightmapper
...
- Use 3 bounces by default.
- Enable environment lighting from the scene by default.
- This is not done in `3.x` for compatibility with existing projects,
but it makes sense to do this by default since pretty much all
outdoor scenes benefit from this.
- Set the custom environment color to white (like ReflectionProbe).
- Its default energy is still 0, so it's invisible by default.
- Enable the generation of dynamic object probes by default.
- Tweak the `max_texture_size` property hint for better usability.
- Improve error messages when passing invalid sizes to
`LightmapGI.set_max_texture_size()`.
2022-09-16 16:27:00 +02:00
MJacred
ac9786c525
Add get_distribution_name() and get_version() to OS
...
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP
Co-authored-by: bruvzg
2022-09-16 11:17:36 +02:00
Rémi Verschelde
d1b2a191ab
Merge pull request #65295 from reduz/json-as-resource
2022-09-16 10:58:01 +02:00
Rémi Verschelde
780211b81b
Merge pull request #36541 from MJacred/docs/texture2darray
...
Add class descriptions for Texture2DArray, CubemapArray and ImageTextureLayered, plus overhaul TextureLayered
2022-09-16 09:20:34 +02:00
Rémi Verschelde
d52dfebf75
Merge pull request #65432 from Calinou/doc-volumetric-fog
...
Improve volumetric fog and FogVolume documentation
2022-09-16 09:20:20 +02:00
Rémi Verschelde
16d44395b5
Merge pull request #65148 from Mickeon/animated-sprite-negative-speed-scale
...
Allow negative `speed_scale` in AnimatedSprite2D & 3D
2022-09-16 09:18:42 +02:00
Rémi Verschelde
3ac332a411
Merge pull request #65819 from raulsntos/theme-docs
...
Fix theme methods usage in docs
2022-09-15 20:11:50 +02:00
Rémi Verschelde
7a90345b01
Merge pull request #65818 from raulsntos/dotnet/crypto-docs
...
Fix invalid C# in crypto docs
2022-09-15 20:11:42 +02:00
Rémi Verschelde
80802d2718
Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
...
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
Ricardo Buring
ff4e72a0bc
PhysicsServer2D and PhysicsServer3D: make body_set_state_sync_callback take a Callable
...
Prefer Callable to a C-style callback. This is helpful for GDExtension.
2022-09-15 15:09:23 +02:00
Raul Santos
361ff55241
Fix theme methods usage in docs
...
- Fix usages of `get_icon` that was renamed
`get_theme_icon`.
- Replace `new Control().get_font*` with
`ThemeDB.fallback_font*`.
2022-09-15 12:03:02 +02:00
Raul Santos
d762500164
Fix invalid C# in crypto docs
2022-09-15 11:39:03 +02:00
Hugo Locurcio
ca9ba968d8
Improve volumetric fog and FogVolume documentation
2022-09-15 02:19:22 +02:00
Lyuma
033abdc59f
2D and 3D Skeleton modification docs, and small fixes.
...
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Rémi Verschelde
6c352c1b8d
Merge pull request #65491 from MJacred/docs/multimesh
...
Document MultiMesh members
2022-09-14 21:15:06 +02:00
Rémi Verschelde
bbed0b43f7
Merge pull request #65774 from bruvzg/no_mono_hinting
...
Do not use horizontal hinting for the editor monospace font.
2022-09-14 17:42:58 +02:00
Silc Renew
cff95e54e0
Fix redraw timing in AnimationBlendTreeEditor
2022-09-14 21:05:21 +09:00
bruvzg
e94ac75d3d
Do not use horizontal hinting for the editor monospace font.
2022-09-14 11:05:09 +03:00
Rémi Verschelde
d9e974cdb0
Merge pull request #65493 from V-Sekai/lod_scaling
...
Fixes LOD scaling issues on skinned meshes.
2022-09-14 09:57:02 +02:00
SaracenOne
13f5c62124
Fix LOD-generation on skinned meshes.
2022-09-14 02:46:10 +01:00
Fabio Alessandrelli
8b5bb7eeea
[OS] Expose get_stdin_string to Scripting.
...
Exposed as read_string_from_stdin so it's clear it's not retrieving a
property.
The method is kept with the block parameter, but a note is added to the
docs specifying that is not implemented on any platform (should we just
remove it?).
2022-09-13 18:37:11 +02:00
Micky
8142bc4ddd
Allow negative `speed_scale` in AnimatedSprite2D & 3D
...
If the `speed_scale` is set to a negative value, the animation plays in reverse.
The second parameter of `play()` still reverses as before. if `speed_scale` and the second parameter of `play()` is true, the animation plays forward.
Also updates the documentation to better describe the pausing and playing behaviour.
2022-09-13 12:41:07 +02:00
Rémi Verschelde
ff824b6f9d
Merge pull request #65509 from gotnospirit/master-os-get_datetime
...
get_datetime_* functions can return wrong values
2022-09-13 11:01:12 +02:00
Rémi Verschelde
3a82a1315b
Merge pull request #65591 from MewPurPur/area-overlapping-function
...
Implement `Area[2D/3D].has_overlapping_[bodies/areas]`
2022-09-13 10:58:55 +02:00
Rémi Verschelde
be0b77fd29
Merge pull request #65642 from voylin/fix_spaces_in_path_for_doc/makefile
2022-09-13 10:46:49 +02:00
Rémi Verschelde
f8ec046b14
Merge pull request #65704 from akien-mga/web-editor-fix-some-errors
...
Fix some errors affecting the Web editor
2022-09-13 08:31:59 +02:00
Jason Yundt
7f30e81abe
Fix invalid literals in generated rst docs
...
Before this change, API docs that look like this:
…adding [param character]s to the right of the string.
would turn into rst files that look like this:
…adding ``character``s to the right of the string.
That reStructuredText is invalid and causes warnings when the docs repo
is built.
2022-09-12 15:51:39 -04:00
Yuri Sizov
44c55ad59b
Merge pull request #65658 from KoBeWi/Two_Tweens_are_tweening_the_same_object._Who-will-win
...
Add more clarifications about Tween processing
2022-09-12 17:54:44 +03:00
Rémi Verschelde
1513d76cb9
Fix some errors affecting the Web editor
...
- Don't warn about minimized/maximized modes not being available.
- Blender and FBX export both depend on running thirdparty applications,
which can't be done (easily at least) for Web and Android editors.
- Editor theme complained about not being able to retrieve texture data
for an icon. It was only used once so instead of flipping at runtime,
let's just add a flipped icon.
Part of #65702 .
2022-09-12 16:29:45 +02:00
Rémi Verschelde
97830e7187
Merge pull request #64155 from Mickeon/sprite-3d-backwards-speed-scale
2022-09-12 12:15:58 +02:00
kobewi
038cb677cb
Add more clarifications about Tween processing
2022-09-11 17:39:35 +02:00
Voylin
0fd29f76a2
Fixes doc/Makefile fails if path contains spaces
2022-09-11 20:03:53 +09:00
Rémi Verschelde
b52305351d
Merge pull request #64465 from TokageItLab/bind-after-gui-input
...
Bind `AfterGUIInput` to GDScript and update document
2022-09-10 20:01:48 +02:00
Fireflash
7823ca1367
Update AudioStreamGeneratorPlayback.xml
...
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132 ), the `get_frames_available` method should return the space remaining in the sample buffer.
2022-09-10 21:39:13 +10:00
Yuri Sizov
461037203c
Merge pull request #65574 from YuriSizov/graphedit-slot-port-conundrum
2022-09-10 14:23:11 +03:00
VolTer
ed4fe1e2bd
Implement Area.has_overlapping_*
2022-09-10 12:17:37 +02:00
Rémi Verschelde
8899f1eec2
Merge pull request #65595 from KoBeWi/minus_children
...
Allow negative indices in `move_child()`
2022-09-10 09:59:15 +02:00
kobewi
31e62ca827
Allow negative indices in move_child()
2022-09-10 03:54:04 +02:00
James
0aecfc9254
Fixes #65377 : get_datetime_* functions can return wrong values
2022-09-10 07:58:38 +08:00
Rémi Verschelde
27e1323473
Merge pull request #64412 from MewPurPur/remove-remove-and-skip
...
Remove `Node.remove_and_skip` method
2022-09-10 00:42:55 +02:00
VolTer
e19f7b2407
Remove Remove and Skip
2022-09-09 23:44:31 +02:00
Micky
b648ee43ab
Harmonise AnimatedSprite3D and its 2D counterpart
...
Add the following properties to AnimatedSprite3D:
- `backwards` parameter in `play()`;
- `speed_scale`.
Both classes' internals are more similar, down to the line spacings. They've also been updated to be clearer and less inconsistent (e.g. `!frames.is_valid()` -> `frames.is_null()`, use SceneStringNames instead of CoreStringNames, rename the internal _queue_update to _queue_redraw)
2022-09-09 21:06:24 +02:00
Rémi Verschelde
ce6f284e5f
Merge pull request #64394 from smix8/navigation_obstacles_reparent_4.x
...
Fix NavigationObstacle 2D/3D (re)parent issues
2022-09-09 19:20:14 +02:00
Yuri Sizov
29c8504dd9
Improve parameter naming and documentation in GraphEdit and GraphNode
...
Co-authored-by: Maganty Rushyendra <mrushyendra@yahoo.com.sg>
2022-09-09 17:50:44 +03:00
Rémi Verschelde
82031fa231
Merge pull request #65571 from rburing/physics_server_extension_bind_all
2022-09-09 16:49:58 +02:00
Rémi Verschelde
93be337483
i18n: Sync classref translations with Weblate (3.5 branch)
...
(cherry picked from commit 26a28d6bbd
)
2022-09-09 14:52:21 +02:00
Ricardo Buring
7b84444393
PhysicsServer2DExtension and PhysicsServer3DExtension: bind all methods (really)
2022-09-09 14:35:01 +02:00
Rémi Verschelde
c909120b59
Merge pull request #64373 from YeldhamDev/edscale_likes_them_floaty
2022-09-09 09:07:53 +02:00
Michael Alexsander
c4c9e41073
Make `Vector2i` values paired with `EDSCALE` be just `Vector2`
2022-09-08 14:46:32 -03:00
Yuri Sizov
141fdac36c
Merge pull request #65188 from Mickeon/animated-texture-speed-scale
...
Rework AnimatedTexture's `fps` into `speed_scale`
2022-09-08 18:25:35 +03:00
MJacred
bbaf53e1b6
Document MultiMesh members and improve/extend existing descriptions
2022-09-08 14:28:38 +02:00
Silc Renew
3c7a5fd8ac
bind AfterGUIInput
2022-09-08 20:02:48 +09:00
MJacred
15603ca887
Add class descriptions for Texture2DArray, CubemapArray and ImageTextureLayered, plus overhaul TextureLayered
...
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-09-08 10:19:54 +02:00
Rémi Verschelde
69233093d7
Merge pull request #65241 from bruvzg/no_keymap_ambiguity
...
Fix key mapping changes when moving from macOS to other platform.
2022-09-08 09:24:24 +02:00
Rémi Verschelde
7936b3cc4c
Merge pull request #60108 from KoBeWi/arise_to_top
...
Rename raise() to move_to_front()
2022-09-08 09:23:31 +02:00
Rémi Verschelde
de739530c2
Merge pull request #63596 from Jayman2000/issue-27640
...
Rename `change_scene()` and `change_scene_to()`
2022-09-08 09:22:03 +02:00
Rémi Verschelde
a51dc70dfb
Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more
...
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 09:20:19 +02:00
Rémi Verschelde
6ac1a811dd
Merge pull request #63905 from smix8/navigation_replace_old_debug_4.x
...
Remove / Replace old Navigation Debug Visualization
2022-09-08 09:19:13 +02:00
Fabio Alessandrelli
a95d792420
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 03:24:23 +02:00