Commit Graph

10363 Commits

Author SHA1 Message Date
bruvzg 64d789aba7
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows. 2024-05-24 20:10:36 +03:00
Rémi Verschelde 73fdc30783
Merge pull request #92272 from timothyqiu/add-to-end
Explain `add_to_end` parameter of `add_property_editor()`
2024-05-23 23:25:55 +02:00
bruvzg 628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +03:00
Rémi Verschelde 01b804f8ac
Merge pull request #92242 from Daylily-Zeleen/daylily-zeleen/fix_ConfirmationDialog_doc
Fix confusing descriptions of ConfirmationDialog.
2024-05-23 08:59:17 +02:00
Haoyu Qiu 4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +08:00
Daylily-Zeleen f523d4f16f Fix confusing descriptions of ConfirmationDialog's description. 2024-05-22 15:05:56 +08:00
Jakub Marcowski d9f8ef68df
Update pre-commit hooks configuration to use `ruff` instead of `black` 2024-05-21 18:02:29 -05:00
Rémi Verschelde dcc7cb01a7
Merge pull request #92154 from lawnjelly/is_polygon_clockwise_doc
Clarify `is_polygon_clockwise()` coordinate system
2024-05-21 11:22:53 +02:00
Rémi Verschelde c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Silc Lizard (Tokage) Renew 3fde32a67e Fix Deterministic blending with Dominant doesn't have init value 2024-05-21 05:23:53 +09:00
lawnjelly 331ecf3ca8 Clarify is_polygon_clockwise() coordinate system
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +01:00
Rémi Verschelde b0822250d6
Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +02:00
Rémi Verschelde fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Riley Willows ea7860c614
Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
kobewi a541d4508f Improve documentation on TreeItem's cell modes 2024-05-19 14:15:38 +02:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Mikael Hermansson a23717c8c6 Bind physics server methods related to shape margin 2024-05-19 12:28:26 +02:00
Thaddeus Crews a9810cffb4
SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
Rémi Verschelde b569ae3ddc
Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00
Rémi Verschelde 62353747e5
Merge pull request #91720 from kitbdev/fix-textedit-minimap
Fix TextEdit minimap tab drawing and click check
2024-05-17 11:13:52 +02:00
Danil Alexeev 7dd801c580
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()` 2024-05-17 10:33:01 +03:00
Rémi Verschelde ce00392fc3
Merge pull request #91974 from bruvzg/ts_notes
[TextServer] Add notes about high level text/font classes and getting active server instance.
2024-05-15 13:51:38 +02:00
Rémi Verschelde 693a13a849
Merge pull request #91601 from lander-vr/lightmap_seams_fix
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +02:00
Rémi Verschelde e63b5ba9e4
Merge pull request #91416 from Calinou/d3d12-sdk-update-install-script
Update dependencies in D3D12 SDK installer script
2024-05-15 13:51:31 +02:00
bruvzg cfb9639fc3
[TextServer] Add notes about high level text/font classes and getting active server instance. 2024-05-15 13:58:42 +03:00
landervr e7bd1b0673 Add denoiser range property for LightmapGI 2024-05-15 08:26:04 +02:00
David Peck d6715b4cde Fix hashing context example
Example now works for any file size instead of just multiples of CHUNK_SIZE
Example also uses correct method for looping over file data
2024-05-14 19:22:50 +12:00
bruvzg 151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +03:00
Yaohua Xiong ed3d311687 Add antialias support for CanvasItem draw primitives
including
- rect, circle; both filled and unfilled.
- polyline, multiline
2024-05-13 19:03:31 +08:00
Hendrik Brucker 62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Rémi Verschelde 3a5593a721
Merge pull request #91761 from DarkiStar/crypto
[Doc] Update Crypto example
2024-05-10 09:56:09 +02:00
Rémi Verschelde c469ab0104
Merge pull request #91507 from lyuma/expose_process_modification
Allow users to override `SkeletonModifier3D._process_modification`
2024-05-10 09:55:44 +02:00
Rémi Verschelde 19219f7716
Merge pull request #91348 from basicer/patch-1
Update CryptoKey documentation to mention ECC.
2024-05-10 09:55:40 +02:00
Lyuma 1ccf0c2947 Allow users to override SkeletonModifier3D._process_modification 2024-05-09 19:48:56 -07:00
Carsten e119e48d4d
[Doc] Update Crypto example
- Removed redundant new() initializations
- removed _ready and node
- improved readability
2024-05-09 14:36:28 +02:00
Rob Blanckaert ba07ae83b5 Update CryptoKey documentation to mention ECC.
The documentation makes it seem like CryptoKey can only hold an RSA key.  This is compounded by the fact that Cypto only has a function generate an RSA based key.  Godot however is perfectly happy loading and using ECC based keys.
2024-05-08 20:14:04 -07:00
kit a53c8e8d70 Fix TextEdit minimap tab drawing and click check 2024-05-08 11:43:44 -04:00
Rémi Verschelde 1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde 2c8a1f0c77
Merge pull request #91544 from MewPurPur/add-translation-server-note
Add notes in Object documentation about TranslationServer methods
2024-05-08 14:35:33 +02:00
Rémi Verschelde 0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
A Thousand Ships b4c6cc7d82
[Core] Add case-insensitive `String::containsn` 2024-05-08 12:48:01 +02:00
Rémi Verschelde 7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via #91597.
2024-05-08 10:12:46 +02:00
Rémi Verschelde 4c30718102
Merge pull request #91615 from Frozenfire92/remap-doc-nan-note
Add docs note about remap returning undefined when istart == istop
2024-05-08 09:54:20 +02:00
Blue Willow b6c0d07dc8 Document AudioEffectSpectrumAnalyzerInstance, clarify relationship with AudioEffectSpectrumAnalyzer
Fully document AudioEffectSpectrumAnalyzerInstance, including the weird
return value of its sole method, and add a link to it in
AudioEffectSpectrumAnalyzer to make it easier to figure out how to use.
2024-05-08 00:17:59 -07:00
Joel Kuntz 26feefa91c Add notes for remap's return when istart and istop are the same
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2024-05-07 19:37:29 -03:00
Rémi Verschelde 039aa28a60
Merge pull request #89574 from Riteo/scale-your-expectations-with-this-one
Wayland: Workaround API limitation in screen/UI scale logic
2024-05-07 21:52:44 +02:00
Riteo 1bb8199342 Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).

This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.

The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
2024-05-07 19:50:48 +02:00
Hugo Locurcio 47ac22486d
Update dependencies in D3D12 SDK installer script
- Add colored console output.
2024-05-07 19:10:58 +02:00
Rémi Verschelde 594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde 37464c7d6e
Merge pull request #91658 from Flynsarmy/skele3d-returns
Add missing bone name return information
2024-05-07 13:49:06 +02:00
Rémi Verschelde 4db9103c2b
Merge pull request #91650 from akien-mga/codespell
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Flyn San 75dd33f834 Add missing bone name return information 2024-05-07 21:25:57 +10:00
Rémi Verschelde e001bc75e8
i18n: Sync translations with Weblate 2024-05-07 11:52:38 +02:00
Rémi Verschelde 4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde 965bae735e
Merge pull request #72323 from Koyper/flow_container_center_wrap_options
Add FlowContainer wrap options for center alignment.
2024-05-07 09:04:34 +02:00
Rémi Verschelde e9c980d857
Merge pull request #91596 from TheKiromen/improve-body-create-documentation
Update `body_create` description in PhysicsServer2D/3D
2024-05-06 22:33:38 +02:00
Dominik Kruczek 343c2fc6b9 Update body_create description in PhysicsServer2D/3D 2024-05-06 18:30:20 +02:00
Rémi Verschelde 608096e55e
Merge pull request #91581 from TheKiromen/improve-physics-server-documentation
Update `area_create` description in `PhysicsServer2D/3D` to clear up possible confusions
2024-05-06 15:15:32 +02:00
Rémi Verschelde ca64891acb
Merge pull request #91571 from pgh1686/master
Update ResourceLoader docs to clarify behavior when no file is found during load call
2024-05-06 15:15:23 +02:00
Rémi Verschelde a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +02:00
pgh1686 62526ed1a5 Update ResourceLoader.xml to clarify behaviour when no file is found 2024-05-05 21:39:01 -04:00
Dominik Kruczek 2b5e0d98d2 Update area_create description in PhysicsServer2D/3D to clear up possible confusions 2024-05-05 19:38:21 +02:00
Marcel Offermans 2bb34a4489 Added a project setting to configure the maximum amount of timestamps, with a description and a reference to the setting when the limit is hit and an ERR_FAIL_COND is hit. 2024-05-05 09:09:04 +02:00
A Thousand Ships aff2e47bff
[C#] Unexpose `GodotSharp`
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +02:00
Rémi Verschelde a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +02:00
Rémi Verschelde 471ddf4327
Merge pull request #87231 from Calinou/geometryinstance3d-transparency-warn-mobile-compatibility
Show warning for GeometryInstance3D transparency in Mobile/Compatibility
2024-05-04 11:52:06 +02:00
MewPurPur 409202d574 Add notes in Object about TranslationServer methods 2024-05-04 02:58:12 +03:00
Rémi Verschelde 03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
ajreckof cba9606611 Add colored margin in Inspector for arrays and dictionaries.
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
Rémi Verschelde c968374caa
Merge pull request #91012 from TheSofox/editor-log-line-limit
Add line limit to Output Log in Editor
2024-05-03 10:31:42 +02:00
Bastiaan Olij 9042ddf19f Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00
Aiden Storey b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
Rémi Verschelde 34b5e8f55c
Merge pull request #91481 from TokageItLab/auto-capture-option
Add argument options to AnimationPlayer for auto capture
2024-05-03 01:21:43 +02:00
Rémi Verschelde 25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +02:00
K. S. Ernest (iFire) Lee f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Silc Lizard (Tokage) Renew 6fd8b25d38 Add argument options to AnimationPlayer for auto capture 2024-05-03 07:06:37 +09:00
MJacred 717513a62d Add is_valid_letter() to TextServer 2024-05-02 21:32:20 +02:00
Radiant 789c6ebdfd Implement `amplitude` to Input.vibrate_handheld
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
2024-05-02 19:09:42 +03:00
Rémi Verschelde 1bee81242e
Merge pull request #91423 from RadiantUwU/wutdahailboi
Fix outdated `AudioEffectSpectrumAnalyzer` documentation
2024-05-02 17:31:43 +02:00
Rémi Verschelde 8f2ff22bf5
Merge pull request #90742 from KoBeWi/PR_from_the_future
Change update checker version source
2024-05-02 17:31:25 +02:00
Rémi Verschelde e249df4f5e
Merge pull request #89275 from bruvzg/status_rect
[StatusIndicator] Add method to get indicator icon screen rect.
2024-05-02 17:31:18 +02:00
kobewi 6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +02:00
Radiant 3a85285048 Fix outdated documentation on AudioEffectSpectrumAnalyzer 2024-05-02 16:22:35 +03:00
Sofox b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +01:00
Rémi Verschelde 06d105e268
Merge pull request #91437 from TokageItLab/auto-capture
Add `auto_capture` option to AnimationPlayer
2024-05-02 14:01:25 +02:00
Rémi Verschelde 6ad0a1ffef
Merge pull request #91098 from bruvzg/rtl_fast_delete
[RTL] Add extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:01:21 +02:00
bruvzg e5205e589f
[StatusIndicator] Add method to get indicator icon screen rect. 2024-05-02 14:39:33 +03:00
bruvzg 360d365b33
[RTL] Adds extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +03:00
A Thousand Ships 0f5e0d1637
Expose `Vector*` component-wise and scalar `min/max` to scripting 2024-05-02 13:02:40 +02:00
Silc Lizard (Tokage) Renew 36abb55dd2 Add auto_capture option to AnimationPlayer 2024-05-02 19:57:36 +09:00
Rémi Verschelde a0b0b19043
Merge pull request #91446 from HexagonNico/rect-doc-fix
Fix incorrect example in the documentation for the `expand` method in `Rect2`
2024-05-02 12:46:49 +02:00
Rémi Verschelde a6a7325e3a
Merge pull request #91127 from CrayolaEater/hinge-joint-cleanup
Deprecate unused parameter `angular_limit/softness` in `HingeJoint3D`
2024-05-02 12:46:36 +02:00
Rémi Verschelde 9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde 0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
Rémi Verschelde bbb86672fe
Merge pull request #84472 from xiongyaohua/canvas_item_draw_circle_non_filled
Extend `CanvasItem::draw_circle()`, making it also draw unfilled circle.
2024-05-02 12:46:14 +02:00
Nico 0854476ef1 Fix incorrect example in the documentation for the expand method in Rect2 2024-05-02 12:06:22 +02:00
Bastiaan Olij 527c30c594 Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +10:00
Bogdan Inculet 24bdd0b9c1
Deprecate unused paramater `angular_limit/softness` in HingeJoint3D 2024-05-02 10:50:58 +02:00
Yaohua Xiong 1f2aa17d14
Extend `CanvasItem::draw_circle()` with filled, width, and antialiased options
Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version.
2024-05-02 10:42:24 +02:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
DeeJayLSP b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 -03:00
Rémi Verschelde f91db3dc58
Merge pull request #91399 from QbieShay/qbe/fix-pmul-name
Revert premul alpha to spell without the T
2024-05-01 23:47:46 +02:00
QbieShay e41064388e reverted naming to premul alpha (no T)
Initially 3d had premulT alpha as a keyword.
Since Canvas item uses mixed premul and premult as keywords,
3D is changed as well to keep consistency with 2D.
Unfortunately this keeps inconsistency with the internal ENUM.
2024-05-01 22:24:49 +02:00
Rémi Verschelde aa79d17305
Merge pull request #91415 from aaronp64/packedscene_docs
Minor `PackedScene` documentation improvements
2024-05-01 20:32:37 +02:00
Rémi Verschelde 7401ea3c55
Merge pull request #91393 from skyace65/LowProc
Remove text saying low processor mode only works on desktop
2024-05-01 20:32:22 +02:00
aaronp64 1fc9f10b2d Minor PackedScene documentation improvements
- Updated _bundled description to refer to "names" key instead of "rnames"

- Added description for pack method
2024-05-01 11:13:01 -04:00
Rémi Verschelde 4e30bc71f5
Merge pull request #91376 from clayjohn/DOCS-reflect-vec3
Update the description and parameter name for Vector3 reflect to correct how the plane is constructed
2024-05-01 09:55:27 +02:00
Rémi Verschelde 9ff72fa137
Merge pull request #91330 from Goldenlion5648/cell-rotation-docs
Document 0, 90, 180, and 270 degree TileMap cell rotations
2024-05-01 09:55:12 +02:00
Rémi Verschelde a30fbc55c7
Merge pull request #91313 from fkeyzuwu/patch-1
Update Variant documentation comment about `class_name`
2024-05-01 09:55:09 +02:00
Rémi Verschelde 70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +02:00
Rémi Verschelde 85062e37ef
Merge pull request #89588 from bruvzg/status_ind_menu_direct
[StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
2024-05-01 09:54:44 +02:00
Bastiaan Olij cbab7dc049 OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +10:00
skyace65 a47bf2a3c8 Remove text saying low processor mode only works on desktop 2024-04-30 22:46:05 -04:00
QbieShay 41a2b0e83e Added premult alpha blending to 3D (spatial) shaders.
Co-authored-by: jitspoe <jitspoe@yahoo.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2024-05-01 00:53:29 +02:00
clayjohn 4d580b15be Update the description and parameter name for Vector3 reflect to correct how the plane is constructed 2024-04-30 13:50:39 -07:00
fkeyz 62829b543e Update Variant documentation comment about class_name 2024-04-30 21:21:22 +03:00
Rémi Verschelde 4455747356
Merge pull request #91321 from Chaosus/doc_string_reverse
Add a note for `String::reverse` to warn about its implementation
2024-04-30 17:03:48 +02:00
Rémi Verschelde 3d03d73135
Merge pull request #91293 from timothyqiu/look-at-2d
Make it clear `Node2D.look_at()` aligns the +X axis
2024-04-30 17:03:34 +02:00
Rémi Verschelde e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Goldenlion5648 d2ea303560 document 0, 90, 180, and 270 degree TileMap cell rotations 2024-04-30 09:16:54 -04:00
Yuri Rubinsky d0af8901aa Add a note for `String::reverse` to warn about its implementation 2024-04-30 12:33:28 +03:00
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
David Snopek 8ce54d4632 Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension 2024-04-29 14:49:32 -05:00
Koyper e3efd51592 Add FlowContainer wrap options for center alignment. 2024-04-29 08:26:45 -05:00
Rémi Verschelde 32070144af
Merge pull request #91100 from bruvzg/x_finks
Add symlink API support for Windows, expose symlink methods.
2024-04-29 13:00:37 +02:00
Haoyu Qiu bd519bfbce Make it clear Node2D.look_at() aligns the +X axis 2024-04-29 08:12:26 +08:00
bruvzg fc948e87f6 Add symlink API support for Windows, expose symlink methods. 2024-04-28 19:59:34 +03:00
brennen 9a28cfe717 doc fix typo that flipped the description of
window_set_max_size and window_set_min_size
2024-04-27 16:39:25 -05:00
kit 773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit 154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Rémi Verschelde bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +02:00
Rémi Verschelde 34a12871d0
Merge pull request #85515 from KoBeWi/is_node_part_of_edited_scene_and_being_edited()
Expose `Node.is_part_of_edited_scene()`
2024-04-26 15:13:13 +02:00
Rémi Verschelde 7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
kobewi 3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +02:00
kobewi 0b877a9962 Expose is_part_of_edited_scene() 2024-04-26 11:49:38 +02:00
Rémi Verschelde f55b81be1e
Merge pull request #91193 from timothyqiu/tab-icon-size
Allow setting max icon width per tab for TabContainer
2024-04-26 11:09:05 +02:00
Rémi Verschelde 9bb448fd9b
Merge pull request #91189 from emanvidmaker/patch-1
Docs: Fix FileAccess example conflicting with global scope `load`
2024-04-26 11:08:59 +02:00
Rémi Verschelde 0d589abcbd
Merge pull request #91130 from Malcolmnixon/xrhandtracker-dotnet-name-collision
Remove the Hand enum from XRHandTracker
2024-04-26 11:08:44 +02:00
Alex-Mayo 91c10a238b
Clarify docs for ParticleProcessMaterial emission_box_extents 2024-04-26 10:50:41 +02:00
Haoyu Qiu 779426b2fa Allow setting icon max width for TabContainer 2024-04-26 08:27:27 +08:00
Malcolm Nixon e00e5c0386 Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
Emanuel Acosta Gonzalez (emanvidmaker) 40651eb642
FileAccess.xml had conflicting function names in its example code
In the example code the declared load() function conflicts with global scope load(). so if you copy pasted it in godot 4.2.2 you would get a "Too few arguments for "load()" call. Expected at least 1 but received 0." error since it doesn't override global scope load().
2024-04-25 18:51:37 -04:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Rémi Verschelde 04d708d675
Merge pull request #91129 from timothyqiu/gdscripty
Fix syntax error in `camera_attributes_set_exposure` documentation
2024-04-25 12:11:25 +02:00
Haoyu Qiu 84d01347df Fix syntax error in camera_attributes_set_exposure documentation 2024-04-25 16:01:13 +08:00
Haoyu Qiu 4f4e8589df Fix Tree minimum size calculation
- Take scroll bar space and column title buttons into account
- Fix first column min size sometimes missing one level of indent
- Fix cell min size ignoring text overrun behavior and item inner margin
- Update min size when `hide_root` or `column_title_visible` changes

Wrong description of `item_inner_margin_*` constants is also fixed
2024-04-25 16:00:45 +08:00
kobewi d04d58d387 Clarify transform inheritance of CanvasItem nodes 2024-04-24 16:31:07 +02:00
Rémi Verschelde 17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde bb9457d725
Merge pull request #89247 from 4d49/tab-tooltip
Add text tooltip for TabBar & TabContainer
2024-04-23 19:10:44 +02:00
Rémi Verschelde b39afcda38
Merge pull request #84926 from jsjtxietian/update-worker-thread-doc
Update WorkerThreadPool doc to mention every task should be waited so that any allocated resources can be cleaned up.
2024-04-23 19:10:39 +02:00
Mansur Isaev b37ddfc606 Add tab tooltip text 2024-04-23 08:28:48 +04:00
Rémi Verschelde b7bc667fe1
Merge pull request #90985 from Fulanko/fix-class-docs-os_get_cmdline_args
Fix incorrect C# in `OS.get_cmdline_args` docs
2024-04-22 22:18:37 +02:00
Rémi Verschelde 2980a6b295
Merge pull request #90916 from Naros/expose-classdb-class-get-property-default-value
Expose `ClassDB::class_get_property_default_value` method
2024-04-22 22:18:26 +02:00
fulanko 1f32b22937 Fix incorrect c# in OS.get_cmdline_args 2024-04-22 19:16:31 +02:00
bruvzg a116801ec7
Improve TextEdit/LineEdit word selection. 2024-04-22 14:02:07 +03:00
Rémi Verschelde e7dc4b4b6b
Merge pull request #90962 from TokageItLab/2or3
Correct AnimationNode documentation where it mentions multiple inputs
2024-04-22 12:53:43 +02:00
Rémi Verschelde bfca90acb7
Merge pull request #90935 from smix8/navdata_append
Add NavigationMeshSourceGeometryData append functions
2024-04-22 12:53:32 +02:00
Rémi Verschelde 7599be9437
Merge pull request #90907 from KoBeWi/null_tile_exception
Don't store TileMapLayer data if empty
2024-04-22 12:53:21 +02:00
Rémi Verschelde ab57e8d5a3
Merge pull request #90834 from lyuma/surfacetool_create_from_arrays
Expose `create_from_arrays` in SurfaceTool and cleanup some naming
2024-04-22 12:53:05 +02:00
Rémi Verschelde bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde 504d01b61e
Merge pull request #90403 from bruvzg/file_resize
[FileAccess] Implement `resize` method.
2024-04-22 12:51:55 +02:00
Rémi Verschelde 0b89b8b64c
Merge pull request #90368 from Naros/expose-classdb-is-enum-bitfield
Expose `ClassDB::is_enum_bitfield` as `ClassDB::is_class_enum_bitfield`
2024-04-22 12:51:51 +02:00
Rémi Verschelde 79557e7d0b
Merge pull request #76725 from smix8/meshbake_blendshapemix_4.x
Add option to bake a mesh from blend shape mix
2024-04-22 12:51:29 +02:00
smix8 2594c57361 Add NavigationMeshSourceGeometryData append functions
Adds append functions to NavigationMeshSourceGeometryData.
2024-04-21 04:57:05 +02:00
Hugo Locurcio b1a2394b3b
Use same colors for editor and running project for collision/path debug
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.

This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
Silc Lizard (Tokage) Renew 1f02426b2f Correct AnimationNode document where it mentions multiple inputs 2024-04-21 05:16:13 +09:00
Lyuma a99756a07f Expose create_from_arrays in SurfaceTool and cleanup some naming 2024-04-19 18:45:06 -07:00
Chris Cranford fdf31011a5 Expose ClassDB::class_get_property_default_value method 2024-04-19 13:51:28 -04:00
Chris Cranford c936ee54ee Expose `ClassDB::is_enum_bitfield` as `ClassDB::is_class_enum_bitfield` 2024-04-19 12:46:36 -04:00
kobewi c7b6cf9f6d Don't store TileMapLayer data if empty 2024-04-19 18:05:48 +02:00
Rémi Verschelde fba6803486
Merge pull request #90876 from smix8/source_geometry_callback
Add navigation mesh source geometry parsers and callbacks
2024-04-19 16:28:30 +02:00
Rémi Verschelde 00c847a629
Merge pull request #90862 from RadiantUwU/change_stuff
Remove experimental flag from `remove_user_signal()`.
2024-04-19 16:28:18 +02:00
Rémi Verschelde 1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
smix8 58593d1bb7 Add navigation source geometry parser callbacks
Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
2024-04-19 12:10:57 +02:00
Lyuma bb9674c1b1 Set animation step from importers. Increase default step from 10 to 30 FPS. 2024-04-19 03:02:20 -07:00
Malcolm Nixon 823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
Bogdan Inculet 8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
Radiant 75bca7d112 Remove experimental flag. 2024-04-18 19:37:05 +03:00
Rémi Verschelde 2d884ba70c
Merge pull request #90797 from Geometror/vsnode-comment-compat
[Compatibility] Add stub for VisualShaderNodeComment
2024-04-18 12:24:50 +02:00
Rémi Verschelde be9b298317
Merge pull request #90780 from lyuma/skeletonik3d_compat
Add SkeletonIK3D `get`/`set_interpolation` compat from #87888
2024-04-18 12:24:44 +02:00
Rémi Verschelde 866f2c56f7
Merge pull request #90674 from RadiantUwU/change_stuff
Implement `Object.remove_user_signal(signal: StringName)`
2024-04-18 12:24:34 +02:00
Rémi Verschelde 1a89b60549
Merge pull request #90651 from Muller-Castro/folder-color
Fix folder colors not present in editor dir dialog
2024-04-18 12:24:30 +02:00
Lyuma cb7ef2b8de Add SkeletonIK3D get/set_interpolation compat from #87888 2024-04-18 01:49:12 -07:00
Radiant e263b11cdd Implement remove_user_signal()
Co-authored-by: Timothe Bonhoure <tbonhoure@ymail.Com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-18 11:22:59 +03:00
Hendrik Brucker 735c45dc8e [Compatibility] Add stub for VisualShaderNodeComment 2024-04-18 02:39:29 +02:00
Hugo Locurcio 1e8526659c
Add minimum width/height to dialog buttons
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.

This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +02:00
Rémi Verschelde ec2e394d04
Merge pull request #90766 from AThousandShips/file_doc
[Doc] Clarify behavior of `FileAccess.get_line`
2024-04-17 10:59:17 +02:00
Rémi Verschelde 82b36cccc7
Merge pull request #90756 from vnen/gdscript-warning-enum-without-default
GDScript: Warn when enum variable has no default
2024-04-17 10:59:07 +02:00
Rémi Verschelde ce0744866d
Merge pull request #90747 from smix8/remove_constrain_avoidance
Remove experimental `constrain_avoidance` from `NavigationRegion2D`
2024-04-17 10:58:55 +02:00
Rémi Verschelde 84457f66bb
Merge pull request #90189 from Naros/expose-goto-help
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-17 10:58:32 +02:00
Chris Cranford d8f1287bcf Expose `goto_help` for GDExtension on `ScriptEditor` 2024-04-16 19:32:33 -04:00
Muller-Castro c8ef9e6955 Fix folder colors not present in editor dir dialog 2024-04-16 16:21:49 -03:00
A Thousand Ships b804193f08
[Doc] Clarify behavior of `FileAccess.get_line`
Specifies that the line excludes any newline or carriage return
characters.
2024-04-16 19:22:40 +02:00
smix8 df66a55ef3 Remove experimental constrain_avoidance from NavigationRegion2D
Removes experimental constrain_avoidance feature from NavigationRegion2D.
2024-04-16 18:02:53 +02:00
George Marques f9048fcd7d
GDScript: Warn when enum variable has no default
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
2024-04-16 11:46:59 -03:00
Rémi Verschelde dc8e82b00a
Merge pull request #90730 from timothyqiu/root-auto-translate
Add project setting for root node auto translate mode
2024-04-16 13:31:00 +02:00
Rémi Verschelde 8901e8776a
Merge pull request #90587 from clayjohn/reversez-shader-warn
Warn users when assigning `VERTEX` directly to `POSITION` due to compatibility breakage from Reverse Z changes
2024-04-16 13:30:47 +02:00
Rémi Verschelde 7210d6cb43
Merge pull request #90358 from KoBeWi/finding_errors_in_other_apps
Add `OS.get_process_exit_code()` method
2024-04-16 13:30:41 +02:00
kobewi dce4a3e4c2 Add get_process_exit_code() method 2024-04-16 12:46:15 +02:00
Haoyu Qiu 8d1cb7e74c Add project setting for root node auto translate mode 2024-04-16 11:02:04 +08:00
Hugo Locurcio ed540964ee
Add an editor setting to import resources while unfocused
This can be used to speed up iteration by starting the import process
earlier when saving files in the project folder. This also allows getting
visual feedback on changes without having to click the editor window,
which is useful with multi-monitor setups.

The downside is that this increases idle CPU usage and may steal CPU
time from other applications when importing resources, so this is
disabled by default.
2024-04-15 19:40:04 +02:00
kobewi 49e69fabba Add automatic checking for engine updates 2024-04-15 15:08:27 +02:00
Rémi Verschelde a44b0b6dc1
Merge pull request #90685 from timothyqiu/auto-translate-legacy
Don't store deprecated `auto_translate` property
2024-04-15 10:00:38 +02:00
Rémi Verschelde 673e770a8d
Merge pull request #90575 from TokageItLab/boneattachment-performance
Remove `bone_pose_updated` signal and replace it with the `skeleton_updated` signal
2024-04-15 10:00:26 +02:00
Haoyu Qiu 48f1e5b561 Don't store deprecated auto-translate property 2024-04-15 14:23:24 +08:00
Rémi Verschelde 41fc152232
Merge pull request #90633 from YeldhamDev/the_popup_is_not_wearing_any_panels
Remove `Popup`'s unused "panel" style
2024-04-14 14:39:15 +02:00
Michael Alexsander 7c75355541
Remove `Popup`'s unused "panel" style 2024-04-13 15:18:12 -03:00
A Thousand Ships d8cd7b2f9f
[Doc] Fix incorrect reference to `input_pickable` 2024-04-13 15:44:14 +02:00
Silc Lizard (Tokage) Renew 78a5ef4158 replace bone_pose_updated to skeleton_updated signal 2024-04-13 05:48:42 +09:00
clayjohn 2f83b400a8 Warn users when assigning VERTEX directly to POSITION due to compatibility breakage from reverse z changes 2024-04-12 10:38:35 -07:00
bruvzg 88b3e68f93
[FileAccess] Implement `resize` method. 2024-04-12 19:20:49 +03:00
Rémi Verschelde c6942cc3f2
Merge pull request #90521 from KoBeWi/size_combinations
Improve `custom_minimum_size` description
2024-04-12 11:16:53 +02:00
Rémi Verschelde fcca9b330d
Merge pull request #90434 from smix8/path_simplify
Add navigation path simplification
2024-04-12 11:16:47 +02:00
Amirtha Krishnan 85fb4439e3
doc: Clarify where `printraw()` output can be seen in the OS terminal
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-04-12 10:52:18 +02:00
smix8 1c134f4a3d Add navigation path simplification
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
kobewi ece38cbe14 Improve custom_minimum_size description 2024-04-11 11:34:43 +02:00
smix8 5d6e8d7dff Add option to bake a mesh from blend shape mix
Adds option to bake a mesh from blend shape mix.
2024-04-10 23:35:28 +02:00
Rémi Verschelde 83b916bb00
Fix a doc and a test issue not caught by CI 2024-04-10 18:49:02 +02:00
Rémi Verschelde fa1164343b
Merge pull request #90460 from Gamepro5/master
Surface normals are not the same thing as collision normals for `move_and_slide()`
2024-04-10 14:22:40 +02:00
Rémi Verschelde 9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +02:00
Rémi Verschelde d899558bbc
Merge pull request #90407 from Calinou/doc-softbody3d-wind
Document Area3D wind properties only affecting SoftBody3D
2024-04-10 14:22:12 +02:00
Rémi Verschelde d68e04d0f5
Merge pull request #90389 from Krigu/update_documentation_for_camera_server_ios
Doc: Add hint for required ios camera plugin in CameraServer documentation
2024-04-10 14:22:08 +02:00
Rémi Verschelde 4b82e90f86
Merge pull request #90056 from lyuma/get_skin_reference
Expose `MeshInstance3D.get_skin_reference` and add docs
2024-04-10 14:22:04 +02:00
Lyuma 2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs 2024-04-10 14:12:25 +02:00
clayjohn c0d0bdc160
Clarify bounce and reflect docs and update param names 2024-04-10 14:07:08 +02:00
Gamepro5 4799459e15 Surface normal is not correct 2024-04-09 19:30:57 -07:00
ajreckof 248e5bfba2
Revert what needs to be reverted 2024-04-10 09:49:30 +08:00
Hugo Locurcio 840d860f88
Document Area3D wind properties only affecting SoftBody3D 2024-04-10 00:06:27 +02:00
Rémi Verschelde f8ca571efe
Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning
GDScript: Fix `UNSAFE_CAST` warning
2024-04-09 22:24:55 +02:00
Christian Feuz 1ad39e1329 Added hint for required ios camera plugin in CameraServer documentation 2024-04-09 21:59:42 +02:00
Rémi Verschelde 9cba6ec216
Merge pull request #89491 from thimenesup/compute_dispatch_indirect
Expose bindings to compute dispatch indirect of rendering device
2024-04-09 10:42:22 +02:00
kkoang 3286e191f3
doc: Use `Signal.emit` instead of `emit_signal` in Object examples 2024-04-09 10:35:15 +02:00
Rémi Verschelde ec773fdc61
Merge pull request #90396 from kleonc/rendering-server-instance-set-transform-document-it-is-global
Fix `RenderingServer.instance_set_transform` docs saying it's not global
2024-04-08 21:56:12 +02:00
thimenesup 8017c8cf21 Expose bindings to compute dispatch indirect rendering device 2024-04-08 20:46:53 +02:00
kleonc 01b029f0a5 Fix RenderingServer.instance_set_transform docs saying it's not global 2024-04-08 18:47:29 +02:00
Micky 0531f96d4c Tweak Joint2D and Joint3D documentation for consistency 2024-04-08 16:51:47 +02:00
Micky 328b00774b Use `[codeblock lang=text]` more often in class ref 2024-04-08 16:17:50 +02:00
kobewi 398892ccc0 Allow skipping imported resource files from export 2024-04-08 12:26:24 +02:00
A Thousand Ships 23782b898b
Add further details on properties returning `Packed*Array` 2024-04-08 11:35:27 +02:00
Rémi Verschelde 2ae6343533
Merge pull request #90310 from mhilbrunner/OutdatedDemos
Update links to outdated asset library demos
2024-04-08 11:21:38 +02:00
Rémi Verschelde e52ffba3c1
Merge pull request #90307 from emmanuel-ferdman/wip
Update the location of editor theme
2024-04-08 11:21:21 +02:00
Rémi Verschelde 1aeb7b9aa2
Merge pull request #90254 from Gamepro5/patch-1
Specify that `get_floor_normal()` does not return the surface normal
2024-04-08 11:21:14 +02:00
Rémi Verschelde ab39f4ce6c
Merge pull request #90096 from AdriaandeJongh/improve-y-sort-description
[Doc] Improve description of `y_sort_enabled`
2024-04-08 11:20:53 +02:00
Rémi Verschelde d5f0120959
Merge pull request #90072 from AThousandShips/vec_cross_doc
[Doc] Clarify the behavior of `Vector2/3.cross` and mention parallel vectors
2024-04-08 11:20:50 +02:00
Rémi Verschelde 8f1b5d68f1
Merge pull request #90039 from AThousandShips/load_relative_note
[Doc] Document loading behavior with relative paths
2024-04-08 11:20:40 +02:00
Rémi Verschelde 1b84421c9b
Merge pull request #89608 from AThousandShips/format_doc_fix
[Doc] Clarify behavior of `String.format` with keys in replacements
2024-04-08 11:20:13 +02:00
Rémi Verschelde 7d96ec4f9d
Merge pull request #88329 from ManpreetXSingh/key-window-menu
Windows: Add support for enabling Alt+Space menu and fix borderless maximize
2024-04-08 11:20:05 +02:00
Rémi Verschelde c50dc9b6dd
Merge pull request #87244 from Mickeon/documentation-SliderJoint3D-missing
Add missing descriptions for SliderJoint3D's `param` methods
2024-04-08 11:19:47 +02:00
Rémi Verschelde 6f6e8b15ce
Merge pull request #87082 from Mickeon/documentation-RenderingDevice-dynamic_state
Add descriptions to a few RenderingDevice's PipelineDynamicStateFlags
2024-04-08 11:19:42 +02:00
Rémi Verschelde 6b4944ee67
Merge pull request #87042 from Mickeon/documentation-EditorExportPlatform-misc
Add miscellaneous documentation to some classes
2024-04-08 11:19:33 +02:00