luz paz
38aaaa3cf9
Fix various typos not caught by codespell
...
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21 07:38:23 -04:00
bruvzg
8823eae328
Rename OSX to macOS and iPhoneOS to iOS.
2022-07-21 09:37:52 +03:00
David Snopek
f8137ce6c1
Allow extending MultiplayerPeerExtension from GDScript
2022-07-20 18:19:05 -05:00
Rémi Verschelde
0f6028378f
Merge pull request #63127 from KoBeWi/raise_from_picture
2022-07-20 22:34:05 +02:00
Rémi Verschelde
fa2dcc7ace
Merge pull request #47935 from HaSa1002/doc-loading-run-time
2022-07-20 22:33:49 +02:00
Fabio Alessandrelli
ddee5f6050
Add peer visibility to MultiplayerSynchronizer.
...
MultiplayerSynchronizers can now be configured to limit their visibility
to a subset of the connected peers, if the synchronized node was spawned
by a MultiplayerSpawner (either automatically or via custom spawn) the
given node will also be despawned remotely.
The replication system doesn't have the logic to handle subspawn
directly, but it is possible to handle them appropriately by manually
updating the visibility of the parent before changing the one of the
nested spawns via the "update_visibility" function.
The visibility of each MultiplayerSynchronizer can be controlled by
adding or remove filters via "[add|remove]_visibility_filter(callable)".
To further optimize the network code, visibility filters can be configured
to be automatically updated during idle or physics frame, or set to always
require manual update (via the "update_visibility" function).
2022-07-20 19:08:35 +02:00
Max Hilbrunner
8d15814e6a
Merge pull request #60256 from octetdev2/docs-fix-staked-typo
...
Fix typo in `TILE_LAYOUT_OFFSET_STACKED` description
2022-07-20 12:18:41 +02:00
Vojtěch Struhár
5a61906330
Filled in MultiMesh instance_count doc.
2022-07-19 22:41:56 +02:00
Rémi Verschelde
715f556cd4
Merge pull request #62139 from bruvzg/label_font_setttings
...
Add LabelSettings resource for quick Label theme property override.
2022-07-19 20:16:01 +02:00
Rémi Verschelde
eea14a0edc
Merge pull request #63005 from Chaosus/image_rotate
...
Implement `rotate_90/rotate_180` functions to `Image`
2022-07-19 15:21:16 +02:00
Rémi Verschelde
7fd29b5464
Merge pull request #59301 from fire-forge/layout-preset-full-rect
2022-07-19 12:06:00 +02:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
FireForge
84431bd782
Use integer types in Image and ImageTexture methods
...
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
kobewi
e8288ac9ab
Clarify create_from_image() usage
2022-07-18 13:01:04 +02:00
Rémi Verschelde
2c6707cb02
Merge pull request #63134 from KoBeWi/plugin4screen
2022-07-18 11:21:13 +02:00
kobewi
058c1eac25
Improve docs on how to make main screen plugin
2022-07-18 10:36:17 +02:00
Rémi Verschelde
dfc76dc26d
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 7379f2c76a
)
2022-07-18 10:29:25 +02:00
Rémi Verschelde
181759e872
Merge pull request #62849 from Calinou/doc-httprequest-timeout
2022-07-18 09:19:58 +02:00
Zak Grumbles
349c750b18
Improve documentation for Camera3D's current
member
...
* Added additional information to the camera documentation to explain
how the 'current' attribute behaves when multiple cameras are in a
scene.
2022-07-17 11:29:59 +02:00
Bastiaan Olij
d139131aab
Adding Variable Rate Shading support to Godot
...
Improve GI renderer and add VRS support
Implement render device has_feature and move subgroup settings to limit_get
2022-07-17 15:42:24 +10:00
Rémi Verschelde
9dfd120a7e
Merge pull request #63077 from Zylann/doc_plane_distance_to
...
Indicate Plane.distance_to returns a signed distance
2022-07-16 23:10:12 +02:00
snailrhymer
c051c84385
Fix typo in VehicleBody3D.xml
2022-07-16 18:06:01 +01:00
Marc Gilleron
45e329c1d2
Indicate Plane.distance_to returns a signed distance
2022-07-16 18:00:31 +01:00
Rémi Verschelde
5a6b13b8bb
Merge pull request #62939 from TokageItLab/implement-rest-fixer
...
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Silc Renew
9be288edf9
refactor sync in AnimationTree
2022-07-16 21:45:32 +09:00
Silc Renew
f3af3aedfe
add rest fixer to importer retarget
2022-07-16 19:53:11 +09:00
Fabian Keller
2bf9e6090c
rename translate(d) to translate(d)_local in Transform 2D/3D
2022-07-16 11:47:54 +02:00
Yuri Rubinsky
7e66903d56
Implement rotate_90/rotate_180
functions to Image
2022-07-15 11:50:42 +03:00
bruvzg
cbe3a2dcb7
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
2022-07-15 08:49:50 +03:00
Rémi Verschelde
184f62cb46
Merge pull request #60458 from KoBeWi/Deprecated-hint,-unused-
2022-07-14 00:20:30 +02:00
Hugo Locurcio
21ea1c3835
Rename soft shadow quality project settings for easier searching
...
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.
Shadow atlas settings now contain the word "atlas" for easier searching.
Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
2022-07-13 19:56:02 +02:00
Rémi Verschelde
4639050c64
SpriteFrames: Sort animations alphabetically
...
And finally remove the 'frames' property which was added for compatibility with 2.1
in bed3efb17e
.
Fixes #21765 .
The 'animations' property on the other hand is needed, contrarily to what its comment
said (copy-paste mistake probably).
Also removes unused '_get_animation_list'.
2022-07-13 16:15:11 +02:00
Rémi Verschelde
b942c1ffe3
Merge pull request #62827 from fire-forge/ok-cancel
...
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-13 14:10:38 +02:00
Rémi Verschelde
fcc9dab73b
Merge pull request #62748 from fire-forge/filedialog_filter
...
Seperate `filter` and `description` arguments in `EditorFileDialog/FileDialog.add_filter()`
2022-07-13 14:07:50 +02:00
bruvzg
f63d54126d
Add LabelSettings resource for quick Label theme property override.
2022-07-12 16:05:12 +03:00
Yuri Sizov
42537daeb1
Merge pull request #41833 from dalexeev/splash_delay
...
Add boot splash minimum display time setting
2022-07-12 15:58:15 +03:00
kobewi
2f777b9a1e
Remove unused hints
2022-07-12 00:44:13 +02:00
bruvzg
3316454379
Fix LineEdit text incorrectly trimmed due to rounding errors.
2022-07-10 23:39:34 +03:00
kobewi
831888aad5
Remove outdated line in call_group() description
2022-07-10 20:02:20 +02:00
Samuele Zolfanelli
e27c5acedd
Make Image.get_size() return a Vector2i instead of a Vector2
2022-07-09 22:05:58 +02:00
FireForge
af19501cc7
Seperate filter and description in FileDialog.add_filter()
2022-07-09 10:51:45 -05:00
FireForge
e4067064ce
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
2022-07-09 10:47:08 -05:00
Hugo Locurcio
5f0cad8cfa
Document the timeout
property in HTTPRequest
2022-07-08 23:24:45 +02:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
Rémi Verschelde
eedb729771
AudioStreamPlayer: Clarify that no validation is made on 'bus' name
...
Supersedes #39605 .
Fixes #39585 .
2022-07-08 09:33:25 +02:00
Rémi Verschelde
6a34b038d5
Merge pull request #42708 from drentsoft/improved_treeitem_docs_branch
2022-07-08 09:22:27 +02:00
Rémi Verschelde
7d3ff927de
Merge pull request #62075 from Vitika9/gsoc-colorpicker
2022-07-08 09:06:47 +02:00
Derwent Ready (drentsoft)
df5a922880
Clarified usage of TreeItem get_next*() and get_prev*() functions.
2022-07-08 08:49:56 +02:00
Rémi Verschelde
6892df6b78
Merge pull request #62751 from jjor2/lightmapgi-typo
...
Fix small typo in LightmapGI class reference
2022-07-08 07:45:09 +02:00
Rémi Verschelde
1e553e34fb
Merge pull request #62108 from bruvzg/font_config_v3
2022-07-07 12:22:49 +02:00
Vitika9
0011d93c81
ColorPicker Refactor
2022-07-06 22:11:43 +05:30
Rémi Verschelde
635d447a69
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
2022-07-06 15:31:19 +02:00
Rémi Verschelde
76d0a99707
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 417f20f06c
)
2022-07-06 15:04:52 +02:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
Rémi Verschelde
cf19484746
Merge pull request #62374 from reduz/implement-bitfield-hint
...
Implement a BitField hint
2022-07-06 09:35:40 +02:00
Hugo Locurcio
983ce7e9f3
Disable Expand by default in VideoStreamPlayer
...
This ensures videos are always visible as soon as a video file
is specified in the VideoStreamPlayer node. The node will no longer
be resized to 0×0 by default, making the video invisible in the process
(even if the audio can still be heard).
2022-07-06 00:51:27 +02:00
Jadon Orr
1b80d99d78
Fix small typo in LightmapGI class reference
2022-07-05 17:19:47 -04:00
reduz
5ac42cf576
Implement a BitField hint
...
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-05 22:13:37 +02:00
Hugo Locurcio
aa9403bcda
Clamp VoxelGI extents to reasonable values to avoid breaking baking
...
This also prevents crashes when resizing a VoxelGI's extents to 0
on any axis.
2022-07-05 18:32:44 +02:00
Rémi Verschelde
fd10de5b94
Merge pull request #62726 from jmpelletier/jmpelletier-patch-2
2022-07-05 11:25:01 +02:00
Rémi Verschelde
3a38ee96ce
Merge pull request #62259 from KoBeWi/textpand
2022-07-05 09:52:22 +02:00
Jean-Marc Pelletier
63d5f31561
StyleBox: Document correct methods to draw with a RID
2022-07-05 09:45:11 +02:00
Rémi Verschelde
3770b5be99
Merge pull request #62724 from KoBeWi/xml_explorer
2022-07-05 08:43:55 +02:00
kobewi
415c7dda37
Implement XMLParser.get_current_line()
2022-07-05 01:23:04 +02:00
Hugo Locurcio
fa799ec2c6
Document changing the Decal and Light3D projector texture filter modes
2022-07-04 22:17:16 +02:00
Rémi Verschelde
344b42703b
Merge pull request #62212 from hansemro/eraser-detect-4
...
Add inversion/eraser-end property for tablet pens
2022-07-04 21:48:19 +02:00
Hansem Ro
6dcc9d1131
[macOS, Windows, X11] Add stylus inverted/eraser support to
...
InputEventMouseMotion event
2022-07-04 10:36:53 -07:00
Yuri Sizov
a9098e6147
Add support for documenting built-in annotations
2022-07-04 20:21:39 +03:00
kobewi
41f6e7c50e
Allow to disable TextEdit vertical scroll
2022-07-04 15:02:15 +02:00
Rémi Verschelde
1d06fec535
Merge pull request #62448 from MinusKube/completion-scroll-click
...
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-04 10:13:20 +02:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
Rémi Verschelde
00b3822306
Input: Re-enable input accumulation by default
...
I turned it off by mistake in #38697 .
See also #62664 for details on this boolean's complex history :)
2022-07-03 12:16:16 +02:00
Rémi Verschelde
a2459c7d35
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-02 00:17:21 +02:00
Rémi Verschelde
692c2d9215
Merge pull request #50755 from foxydevloper/add-global-position-and-global-rotation
...
Add global_position and global_rotation to Node3D
2022-07-01 21:50:42 +02:00
Hugo Locurcio
e7315fcc45
Clamp Decal's upper/lower fade to positive values
...
Negative easing values result in broken rendering.
2022-07-01 19:23:57 +02:00
Rémi Verschelde
e75bd53fb2
Merge pull request #62439 from timothyqiu/str-format
2022-07-01 18:03:59 +02:00
foxydevloper
8b16a4131f
Add global_position and global_rotation to Node3D
2022-07-01 10:27:07 -04:00
kobewi
1a9fc25e00
Restore and improve some ParticlesMaterial docs
2022-07-01 15:09:41 +02:00
Rémi Verschelde
daec5bed57
Merge pull request #59089 from KoBeWi/I_am_root
...
Add `root_subfolder` to FileDialog
2022-07-01 11:53:33 +02:00
Rémi Verschelde
88192269a8
Merge pull request #62477 from lyuma/packedbytearray
...
Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays.
2022-07-01 09:03:20 +02:00
Lyuma
33fd7c63e1
Prevent out-of-bounds write in array conversion; avoid logspam on empty arrays.
2022-06-30 18:04:33 -07:00
Hugo Locurcio
32973094f5
Add a Bake Mask property to GPUParticlesCollisionSDF3D
...
This allows not accounting for certain visible meshes during baking
(such as foliage and thin fixtures).
This also adds a clarification about transparent materials always
being excluded in the OccluderInstance3D documentation.
2022-06-30 23:12:40 +02:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
leogeier
359f7fc51f
Exposes methods for adding and removing ResourceFormatLoaders and -Savers in the ClassDB
2022-06-29 21:38:20 +02:00
Rémi Verschelde
a7e589df38
Merge pull request #62084 from smix8/path_debug_options_4.x
...
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Rémi Verschelde
26dd4746a1
i18n: Sync classref translations with Weblate
...
(cherry picked from commit c93ccb5d1d
)
2022-06-29 12:12:48 +02:00
Rémi Verschelde
b730d2ee09
Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-output
...
Adding print_rich() for printing with BBCode
2022-06-28 23:35:53 +02:00
Rémi Verschelde
fed5ebb24b
Merge pull request #61196 from V-Sekai/animtree-advance-expressions
2022-06-28 21:40:29 +02:00
kobewi
9d48cd502b
Add root_subfolder to FileDialog
2022-06-28 18:56:18 +02:00
SaracenOne
75a8606b83
Add AnimationTree Advance Expressions
...
Allows specifying an expression as a condition for state machine transitions.
This gives much greater flexibility for creating complex state machines. By directly interfacing with the script code, it is possible to create complex animation advance condition for switching between states.
Ensure assigning AnimationTreeStateMachineTransition base expression node in editor is relative to current AnimationTree node.
Allow setting an expression base node on the AnimationTree itself.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-28 09:26:13 -07:00
Danil Alexeev
dad9683d11
Add boot splash display time setting
...
Implements #8867 .
2022-06-28 18:54:51 +03:00
Voylin
c6291bcd8a
Adding print_rich for printing with BBCode
2022-06-29 00:41:29 +09:00
snailrhymer
aff30b649e
Fix typos and improve clarity in Tween docs
2022-06-28 16:04:44 +02:00
Rémi Verschelde
b863c40356
Merge pull request #62468 from V-Sekai/core-const-expressions
...
Add a const call mode to Object, Variant and Script.
2022-06-28 01:08:24 +02:00
Rémi Verschelde
8fd0b4d1f8
Merge pull request #62449 from Chaosus/wrap_func
...
Add generalized version of `wrap` function
2022-06-27 23:28:37 +02:00
K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Hendrik Brucker
99ce0df3b1
Refactor bezier interpolation functions
2022-06-27 19:42:43 +02:00
Yuri Rubinsky
2476c50a66
Add generalized version of wrap
function
2022-06-27 16:11:21 +03:00
Rémi Verschelde
dac79e15f1
Merge pull request #62390 from Calinou/movie-writer-tweak-settings
2022-06-27 12:27:46 +02:00
Rémi Verschelde
fbc3777467
Merge pull request #62185 from reduz/export-node-pointer-path
...
Add ability to export Node pointers as NodePaths
2022-06-27 11:14:36 +02:00
Haoyu Qiu
25c7f567dd
Improve String.format() documentation
2022-06-27 11:29:44 +08:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
smix8
e1a4d1d08c
Clarify NavigationAgent radius property
...
Documents Navigation radius property, especially that it affects avoidance only.
2022-06-26 13:04:02 +02:00
Hugo Locurcio
bdb40c6478
Add property hints to MovieWriter settings
...
- Rename audio mix rate setting as the suffix is now part of the
property hint. This is also more consistent with existing mix rate
project settings.
- Improve the MovieWriter class reference.
- Tweak warning message about audio possibly going out of sync.
2022-06-25 20:08:56 +02:00
reduz
b7c41f9ba1
Add ability to export Node pointers as NodePaths
...
This PR implements:
* A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string.
* The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path.
* When scene is saved, the node path is saved, then restored as a pointer.
NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid.
Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language.
Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path).
Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25 15:50:15 +02:00
Rémi Verschelde
dd3de622d8
Merge pull request #62372 from MarcusElg/nosliderrename
...
Rename @export_range's noslider option to no_slider
2022-06-25 14:03:44 +02:00
Haoyu Qiu
c894ae0b6b
Make code example in HTTPRequest classref working
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2022-06-24 23:29:52 +08:00
Rémi Verschelde
307dfa9fe9
Merge pull request #62375 from smix8/doc_navmesh_bake_obstruct_limit_4x
2022-06-24 15:02:17 +02:00
Rémi Verschelde
fec3a48e53
Merge pull request #59918 from piiertho/enhancement/rename-controll-minimum_size-to-custom_minimum_size
2022-06-24 14:54:53 +02:00
smix8
85cdb1144d
Document limits of using meshes to obstruct navigation mesh baking
...
Recast (the library used for baking) has no concept of a geometry "inside" and this is intentional. ReCast will add navigation mesh to areas as soon as the area inside a source geometry mesh is large enough to fit a navigation mesh polygon with current baking parameters.
2022-06-24 14:32:24 +02:00
Marcus Elg
6c1ac9f3be
Rename export_range's noslider option to no_slider
2022-06-24 10:45:34 +02:00
Rémi Verschelde
faae24637c
Merge pull request #62300 from smix8/navigation_map_force_update_4.x
2022-06-24 10:13:07 +02:00
Rémi Verschelde
81afea620f
Merge pull request #62353 from smix8/navigation_region_owns_point_4.x
...
Add NavigationServer region_owns_point() helper function
2022-06-24 09:08:25 +02:00
K. S. Ernest (iFire) Lee
42f7f0894e
Restore the openexr grayscale property.
2022-06-23 21:10:59 -07:00
smix8
e57360d8df
Add NavigationServer.region_owns_point() helper function
...
Adds a helper function to check if a world space position is currently owned by a navigation region.
2022-06-23 23:32:05 +02:00
Pierre-Thomas Meisels
5ad1a1b5e7
enhancement: rename exposed property Control::minimum_size to Control::custom_minimum_size
2022-06-23 18:06:10 +02:00
smix8
fdea269805
Add NavigationServer map_force_update() function
...
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
2022-06-23 17:32:07 +02:00
Rémi Verschelde
462127eff0
Merge pull request #62312 from smix8/navigation_get_maps_4.x
2022-06-23 16:14:12 +02:00
Rémi Verschelde
ef5bc1baad
Merge pull request #62348 from smix8/navigation_baking_aabb_4.x
2022-06-23 16:10:40 +02:00
Rémi Verschelde
2baddcc4f6
Merge pull request #61931 from KoBeWi/how_to_window
...
Document most of the Window's members
2022-06-23 15:20:53 +02:00
Rémi Verschelde
1c54057933
Merge pull request #62326 from KoBeWi/userbind
2022-06-23 15:15:41 +02:00
smix8
0c4d99f4fd
Implement NavigationMesh bake area
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
2022-06-23 14:55:21 +02:00
kobewi
a6f0aba43d
Remove userdata from Thread.start()
2022-06-23 12:50:28 +02:00
Rémi Verschelde
cf4d39ecc1
Merge pull request #62306 from Calinou/doc-moviewriter
...
Document the MovieWriter class and associated project settings
2022-06-23 08:01:40 +02:00
Hugo Locurcio
661808a84e
Document the MovieWriter class and associated project settings
2022-06-23 00:31:31 +02:00
Rémi Verschelde
e9ca15b6a6
Merge pull request #62234 from skyace65/AudioEffects
...
Cleanup audio effect class reference pages
2022-06-22 21:36:38 +02:00
kobewi
0f630f8307
Document most of the Window's members
2022-06-22 20:46:27 +02:00
Max Hilbrunner
ac51d5a1e9
Merge pull request #62053 from skyace65/MaterialDescription
...
Add a description to ORMMaterial3D and StandardMaterial3D
2022-06-22 19:51:14 +02:00
Rémi Verschelde
3ccff61979
Merge pull request #58544 from Calinou/tileset-source-allow-canvasitemmaterial
2022-06-22 17:02:34 +02:00
smix8
c0fed1d4e8
Add Navigation function to get all navigation maps
...
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
2022-06-22 15:33:40 +02:00
Hugo Locurcio
49f94b94c7
makerst: Fix file name not appearing in error message
2022-06-22 12:17:15 +02:00
Hugo Locurcio
b3fe2732e3
Allow using CanvasItemMaterial in the TileSet editor
...
Previously, only ShaderMaterial overrides could be added.
2022-06-21 17:02:52 +02:00
Aaron Franke
8f05bd97b5
Add support for saving WebP images
2022-06-21 08:27:51 -05:00
Rémi Verschelde
40c360b870
Merge pull request #62122 from reduz/implement-movie-writer
...
Implement a Movie Maker mode
2022-06-21 14:24:14 +02:00
reduz
5786516d4d
Implement Running Godot as Movie Writer
...
* Allows running the game in "movie writer" mode.
* It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time).
* If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult.
* Implements a simple, default MJPEG writer.
This new features has two main use cases, which have high demand:
* Saving game videos in high quality and ensuring the frame rate is *completely* stable, always.
* Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this).
**Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly).
Usage:
$ godot --write-movie movie.avi [scene_file.tscn]
Missing:
* Options for configuring video writing via GLOBAL_DEF
* UI Menu for launching with this mode from the editor.
* Add to list of command line options.
* Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-21 11:28:47 +02:00
smix8
e12e239ab4
Add Path2D/3D debug options
...
Add Path2D/3D debug options.
2022-06-20 17:32:05 +02:00
Juan Linietsky
15837ec191
Revert "Disable VRAM compression by default for small textures in Detect 3D"
2022-06-20 15:30:19 +02:00
Rémi Verschelde
21b0c7fc22
Merge pull request #62214 from smix8/navigation_layer_bitmask_helpers_4.x
2022-06-20 15:13:33 +02:00
Rémi Verschelde
3d49e89b9b
Merge pull request #62181 from smix8/navigation_navagent_pathpoint_dist_4.x
2022-06-20 14:54:16 +02:00
Rémi Verschelde
3e6de687b8
Node: Rename child_exited_tree
to child_exiting_tree
...
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.
Fixes #59210 .
2022-06-20 11:55:19 +02:00
skyace65
c2b5464659
Cleanup audio effect class reference pages
2022-06-19 22:25:00 -04:00
Rémi Verschelde
958254ec3e
Merge pull request #60798 from Calinou/doc-os-cmdline-args
2022-06-19 14:09:13 +02:00
Rémi Verschelde
833b16cdf0
Merge pull request #62142 from Calinou/doc-gui-incremental-search
2022-06-19 14:08:24 +02:00
Rémi Verschelde
f7d2dcc878
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 5478afdb1e
)
2022-06-19 14:00:21 +02:00
smix8
55923ade68
Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
2022-06-19 13:47:19 +02:00
smix8
07740302f3
Add NavigationAgent desired path distance
...
Add NavigationAgent desired path distance
2022-06-18 19:11:49 +02:00
Rémi Verschelde
0daa868ab4
Merge pull request #62023 from Calinou/detect-3d-small-textures-no-vram-compress
...
Disable VRAM compression by default for small textures in Detect 3D
2022-06-17 21:07:04 +02:00
Rémi Verschelde
d2be5416ef
Merge pull request #58841 from ellenhp/expose_tightness
...
Expose panning strength parameters
2022-06-17 18:36:58 +02:00
Rémi Verschelde
4463dd9d89
Merge pull request #62132 from timothyqiu/doc-fixes
2022-06-17 15:51:25 +02:00
Ellen Poe
d384d84f45
Audio: Expose 2D/3D panning strength parameters
2022-06-17 13:08:48 +02:00
Rémi Verschelde
a60e2085b6
Merge pull request #62000 from gregcsokas/master
2022-06-17 13:02:19 +02:00
Hugo Locurcio
466bd7ce39
Document incremental search support in ItemList, PopupMenu and Tree
2022-06-17 12:54:09 +02:00
Haoyu Qiu
27dabe1a6d
Classref typo fixes and improvements
2022-06-17 15:15:30 +08:00
Rémi Verschelde
2a92176e4c
Merge pull request #62118 from dalexeev/empty-array-any-all-docs
...
Clarify `all` and `any` documentation for empty arrays
2022-06-16 23:58:20 +02:00
Rémi Verschelde
f5deed4612
i18n: Sync classref translations with Weblate
...
(cherry picked from commit e047c50068
)
2022-06-16 21:07:33 +02:00
Danil Alexeev
8b97fa4dcd
Clarify all
and any
documentation for empty arrays
2022-06-16 20:50:31 +03:00
gregcsokas
42e619c01e
Adding function key support from F17 to F35
...
OSX supports everything by default,
Linux is also capable of supporting every function key,
Windows as I know support only up to F24
2022-06-16 19:38:21 +02:00
Rémi Verschelde
1767507e69
Merge pull request #61888 from Chaosus/vs_remove_engine_version
...
Remove engine version from visual shader
2022-06-16 18:19:03 +02:00
Rémi Verschelde
2aec92412f
Merge pull request #62066 from bruvzg/cleanup_ts_enums
2022-06-16 16:52:48 +02:00
bruvzg
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
Yuri Rubinsky
7da2a21425
Make AStar to use 64-bit logic
2022-06-16 16:43:41 +03:00
Johannes Witt
8c7d4996c9
Document how to load Images and MP3 files at run-time
2022-06-16 13:18:36 +02:00
Rémi Verschelde
1ad6fade00
Merge pull request #58669 from theraot/ASar2Dbidirectional
...
AStar2D bidirectional
2022-06-16 12:46:51 +02:00
Rémi Verschelde
941575b7b8
Merge pull request #61908 from Calinou/crash-handler-message-tweak-exported-project
2022-06-16 09:59:47 +02:00
Rémi Verschelde
296bbe2483
Merge pull request #61877 from aaronfranke/doc-negative-scale
2022-06-16 09:59:30 +02:00
skyace65
0710259e87
Add a description to ORMMaterial3D and StandardMaterial3D
2022-06-15 22:25:45 -04:00
Rémi Verschelde
421d8b716d
Merge pull request #61952 from V-Sekai/custom-docs
...
`SurfaceTool.set_custom_format` Fixes and documentation.
2022-06-15 21:20:58 +02:00
FireForge
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
smix8
245da150e7
Streamline Navigation layer function names.
...
Streamline Navigation layer function names.
2022-06-15 00:18:48 +02:00
Lyuma
03b896c992
SurfaceTool.set_custom_format
Fixes and documentation.
...
Fix mistake making `set_custom_format` impossible to use.
Automatically forward custom flags in `SurfaceTool.commit`.
Add documentation in `SurfaceTool` and `Mesh` for custom channels.
Deprecate `SurfaceTool.generate_lod` and expose `ImporterMesh.generate_lods`.
2022-06-14 15:10:17 -07:00
Rémi Verschelde
d2a90d62fd
Merge pull request #62044 from smix8/navigation_navagent_map_change_4.x
...
Add NavigationAgent2D/3D set_navigation_map() function
2022-06-14 22:54:13 +02:00
smix8
f10ff0efda
Add NavigationAgent set_navigation_map() function
...
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14 21:48:47 +02:00
Rémi Verschelde
7c0f1b4cd7
Merge pull request #62042 from Calinou/basematerial3d-nearest-height-always-linear
...
Always sample the heightmap with linear filtering in BaseMaterial3D
2022-06-14 21:39:03 +02:00
Hugo Locurcio
26f6625dcc
Always sample the heightmap with linear filtering in BaseMaterial3D
...
Nearest-neighbor filtering of the heightmap results in a broken
appearance, with and without Deep Parallax enabled on the material.
Linear filtering results in a more expected appearance. This does
not affect other texture maps such as albedo, normal or roughness.
2022-06-14 18:56:18 +02:00
Rémi Verschelde
64ca195762
Merge pull request #62035 from smix8/navigation_doc_agent_cb_cancel_4.x
2022-06-14 18:24:00 +02:00
Rémi Verschelde
5b759ff160
Merge pull request #62030 from KoBeWi/SetName/GetName
2022-06-14 18:23:39 +02:00
smix8
10c400ca82
Document NavigationServer API navigation agent callbacks
...
Document NavigationServer API navigation agent callbacks.
2022-06-14 17:06:12 +02:00
kobewi
a3a029d4c6
Change set/get binding to use StringName
2022-06-14 16:27:33 +02:00
kobewi
5553e27fe8
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14 14:58:44 +02:00
Hugo Locurcio
04d5626bc0
Disable VRAM compression by default for small textures in Detect 3D
...
This is done to prevent reducing texture quality when it doesn't save
much video memory, especially for pixel art.
The size threshold can be adjusted in the project settings.
To get the previous behavior where textures detected to be used in 3D
had their compression mode always set to VRAM, set this to the lowest value
(16).
2022-06-14 13:08:20 +02:00
Rémi Verschelde
1f152b3317
Merge pull request #61945 from KoBeWi/making_move_to_trash_less_trash
2022-06-13 17:40:48 +02:00
Rémi Verschelde
d4f31e201d
Merge pull request #61809 from groud/terrain_center_bit
2022-06-13 17:06:34 +02:00
Rémi Verschelde
2dde83a226
Merge pull request #61915 from Calinou/doc-lightmapgi
2022-06-13 16:09:31 +02:00
Hugo Locurcio
60029e9eb8
Document LightmapGI, LightmapGIData and LightmapProbe
...
This documents those 3 classes with 100% completion, while also
documenting the relevant project settings.
2022-06-13 15:46:15 +02:00
Rémi Verschelde
954a19965d
Merge pull request #61983 from skyace65/WorldEnvironment
2022-06-13 15:08:32 +02:00
skyace65
ddbc24f84b
Add description for camera effects property in WorldEnvironment
2022-06-13 08:06:13 -04:00
kobewi
1c90b066dd
Improve description of move_to_trash()
2022-06-13 12:57:56 +02:00
Rémi Verschelde
136f84fc35
Merge pull request #61772 from bruvzg/ft_ot_collect
2022-06-13 11:13:05 +02:00
Rémi Verschelde
e95f4eb5a7
Merge pull request #61819 from bruvzg/button_overrun
2022-06-13 11:02:04 +02:00
Rémi Verschelde
803d25a20a
Merge pull request #61961 from jtnicholl/anim_lib_type_hints
...
Fix type hints for AnimationLibrary's signals' arguments
2022-06-12 22:26:53 +02:00
Rémi Verschelde
4953707784
Merge pull request #61916 from Calinou/doc-curvetexture
...
Document the CurveXYZTexture class, improve CurveTexture documentation
2022-06-12 22:26:33 +02:00
Hugo Locurcio
b5c78f3046
Document the CurveXYZTexture class, improve CurveTexture documentation
2022-06-12 19:33:27 +02:00
Jonathan Nicholl
3d8e400fb5
Fix type hints for AnimationLibrary's signals
2022-06-12 13:20:51 -04:00
Haoyu Qiu
6f38c21253
Fix parameter name for String.left and String.right
2022-06-12 16:34:44 +08:00
Hugo Locurcio
857e5a3bb0
Update name of Convert to MeshInstance2D button in MeshInstance2D doc
2022-06-11 21:52:39 +02:00
Rémi Verschelde
126e4d0a5b
Merge pull request #61920 from Calinou/makerst-print-color
2022-06-11 11:42:18 +02:00
Hugo Locurcio
d45351f413
makerst: Print colored output for easier visual grepping
...
This is automatically enabled on all platforms including
Windows 10 and later, whenever a TTY environment is detected.
In non-TTY environments such as CI, this can be forced using the
`--color` command line argument.
2022-06-11 00:19:36 +02:00
kobewi
9ada594139
Add static methods to create RayQueryParameters
2022-06-10 23:37:04 +02:00
Hugo Locurcio
1163af1756
makerst: Fix duplicate .xml
extension in some error messages
...
Previously, a file name could appear as e.g. `ProjectSettings.xml.xml`
when one of the 3 modified errors was reported.
2022-06-10 22:58:09 +02:00
Hugo Locurcio
c850ccb7c0
Tweak default crash handler message in exported projects
...
When an exported project crashes, the crash handler message
shouldn't reference the Godot issue tracker, as not all crashes
are Godot's fault.
Reporting crashes that only occur on exported projects is still allowed,
but it should not be done by people who aren't working on the project
in question.
2022-06-10 18:35:40 +02:00
Gilles Roudière
62d2549e9e
Add terrain center bit
2022-06-10 14:37:39 +02:00
Yuri Rubinsky
d6622330d7
Remove engine version from visual shader
2022-06-10 13:17:16 +03:00
Haoyu Qiu
5a011f5999
Fix description about SceneTreeTimer auto free
2022-06-10 18:04:34 +08:00
Rémi Verschelde
8aa69c4e06
Merge pull request #52415 from deakcor/dev-node2d
...
Fix global properties setters and add global skew for node2d
2022-06-10 09:49:15 +02:00
Aaron Franke
3398fb77a9
Document limitations of negative scales in 2D and 3D
2022-06-10 00:56:49 -05:00
Nikola Whallon
eb5a42d0bc
added info on microphone sample format
2022-06-09 14:01:38 -07:00
Rémi Verschelde
a2c016e997
Merge pull request #61659 from KoBeWi/state-of-the-ed
2022-06-09 09:57:28 +02:00
Rémi Verschelde
c91d33e9ca
Merge pull request #61813 from smix8/navigationmesh_properties_naming_4.x
2022-06-09 09:48:01 +02:00
smix8
2c059dcfcb
Remove slash delimiter from NavigationMesh properties
...
Remove slash delimiter from NavigationMesh properties.
2022-06-09 09:20:52 +02:00
Rémi Verschelde
ae78928232
Merge pull request #61670 from smix8/navigation_navagent_patharray_use_4.x
...
Document the correct use of NavigationAgent path functions
2022-06-09 08:50:30 +02:00
smix8
9c7f03aefc
Document the correct use of NavigationAgent path functions
...
Document the correct use of NavigationAgent path functions.
2022-06-09 01:51:33 +02:00
bruvzg
906e9b6ac5
Add overrun behavior to the Button.
2022-06-08 19:02:27 +03:00
Rémi Verschelde
e4994e2817
Merge pull request #61739 from smix8/navigation_region_cost_4.x
2022-06-08 16:05:38 +02:00
Rémi Verschelde
07029e94f4
Merge pull request #61662 from smix8/navigation_map_cell_defaults_4.x
2022-06-08 15:56:22 +02:00
Rémi Verschelde
c09d830106
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 6536877117
)
2022-06-08 13:18:40 +02:00
Rémi Verschelde
c8ce7e34e2
i18n: Misc fixes translation strings
...
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:57:54 +02:00
Rémi Verschelde
60eec78a1f
Merge pull request #61558 from kleonc/triangle_mesh_from_triangle_strip
...
Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP`
2022-06-07 22:07:16 +02:00
Rémi Verschelde
5ebdfc31b2
Merge pull request #61319 from JFonS/taa_wip
...
Initial TAA implementation
2022-06-07 20:53:55 +02:00
Rémi Verschelde
96f41d6ada
Merge pull request #61284 from KoBeWi/steal_image()
...
Remove image property of ImageTexture
2022-06-07 20:53:09 +02:00
Rémi Verschelde
d52a79ad22
Merge pull request #59786 from V-Sekai/ok_color
...
Allow picking similar colours using OKHSL.
2022-06-07 20:52:32 +02:00
sps1112
1f361b0367
Bind vararg method flag in core constants
2022-06-07 17:06:34 +02:00
kobewi
c519a667ad
Remove image property of ImageTexture
2022-06-07 16:30:54 +02:00
Rémi Verschelde
e24e4935ff
Merge pull request #61751 from KoBeWi/ 🐱 👤
2022-06-07 16:02:16 +02:00
Rémi Verschelde
3f8d86b076
Merge pull request #50349 from Calinou/array-add-some-every
...
Add `any()` and `all()` methods to Array
2022-06-07 15:15:22 +02:00
K. S. Ernest (iFire) Lee
1b776a6e7a
Allow picking similar colours using OKHSL.
2022-06-07 05:53:27 -07:00
kobewi
83014f8901
Add GLOBAL_DEF_INTERNAL to hide specific settings
2022-06-07 14:14:03 +02:00
Rémi Verschelde
7f5c10b588
Merge pull request #61737 from LightningAA/fix-frac-typo
...
Fix typo "Frac" instead of "Fract"
2022-06-07 14:10:56 +02:00
jfons
ba832d83b2
Initial TAA implementation
...
Initial TAA support based on the implementation in Spartan Engine.
Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-07 13:14:44 +02:00
bruvzg
6e4cdad3ac
[TextServer] Adds support for TrueType / OpenType collection files (*.TTC, *.OTC).
2022-06-07 11:35:59 +03:00
Rémi Verschelde
83421cd06f
Merge pull request #59883 from KoBeWi/merge_this
2022-06-06 23:38:29 +02:00
Haoyu Qiu
83d931ad3c
Fix Viewport.own_world_3d
documentation
...
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-06-06 21:34:40 +08:00
smix8
cfdfd304f1
Add NavigationRegion costs for pathfinding
...
Add NavigationRegion costs for pathfinding.
2022-06-06 15:25:06 +02:00
bruvzg
b3bbf3db47
[GDExtension] Expose Variant, NodePath and StringName hash functions.
2022-06-06 12:19:56 +03:00
Aaron Record
14df02b21f
Fix typo "Frac" instead of "Fract"
2022-06-05 19:20:32 -06:00
Nathan Franke
8d66896a47
rename 'configuration' to 'replication_config' in MultiplayerSynchronizer
2022-06-04 18:30:31 -05:00
Winston Yallow
2a2c931664
typo: change congiruation into configuration
2022-06-04 18:49:23 +02:00
Rémi Verschelde
ecde7ce834
Merge pull request #61669 from fire-forge/input
...
Make Input `mouse_mode` and `use_accumulated_input` properties
2022-06-04 15:52:34 +02:00
kobewi
505a2ce468
Improve EditorPlugin state documentation
2022-06-03 22:45:56 +02:00
FireForge
f16c33fff6
Make Input mouse_mode and use_accumulated_input properties
2022-06-03 14:19:38 -05:00
Raul Santos
3e53afd52c
Add array element type to get_connected_joypads
2022-06-03 20:37:46 +02:00
smix8
3066091780
Match NavMap and ProjectSettings with NavigationMesh defaults
...
Match NavMap and ProjectSettings with NavigationMesh defaults since the NavMap edge merging requires a matching cell_size with the NavigationMesh to create connections without issues.
2022-06-03 19:17:49 +02:00
Rémi Verschelde
798b39ed44
Merge pull request #61623 from smix8/navigation_navpoly_getmesh_4.x
2022-06-03 10:49:39 +02:00
Rémi Verschelde
a21cb213cb
Merge pull request #61619 from smix8/navigation_navobstacles_doc_4.x
2022-06-02 16:57:05 +02:00
Fabio Alessandrelli
70c2b4bebd
Merge pull request #60711 from nathanfranke/rpc-server
...
network - finish renaming AUTH to AUTHORITY
2022-06-02 11:07:41 +02:00
smix8
8bcce0ebb2
Expose get_mesh() for NavigationPolygon Resources
...
Expose get_mesh() for NavigationPolygon Resources.
2022-06-02 09:52:26 +02:00
smix8
d1959cabd9
Note that NavigationObstacles should only be used if necessary and for moving objects only
...
Note that NavigationObstacles should only be used if necessary and for moving objects only.
2022-06-02 01:24:43 +02:00
Rémi Verschelde
6cd730ea98
Merge pull request #61339 from lyuma/streampeerssl_get_stream
2022-06-02 00:27:07 +02:00
Rémi Verschelde
d9daf3869f
Merge pull request #61607 from smix8/navigation_agent_height_offset_doc_4.x
...
Document that NavigationAgent height offset is mostly a placebo
2022-06-01 19:44:31 +02:00
smix8
b1d9853415
Document that NavigationAgent height offset is mostly a placebo
...
Document that NavigationAgent height offset is mostly a placebo.
2022-06-01 18:25:04 +02:00
Sergey Pershenkov
adccb9fd60
draw_circle() draws a filled circle
2022-06-01 11:38:09 +03:00
Rémi Verschelde
3ab3293334
Merge pull request #61593 from smix8/navigation_doc_navserver_syncphase_4.x
...
Add class doc that NavigationServer changes are not instant
2022-06-01 10:10:17 +02:00
smix8
7f72b7b3ad
Add class doc that NavigationServer changes are not instant
...
Add class doc that NavigationServer changes are not instant.
2022-06-01 09:38:32 +02:00
Rémi Verschelde
70eaaf2a01
i18n: Sync classref translations with Weblate
...
(cherry picked from commit af8a02ddaf
)
2022-06-01 00:42:11 +02:00
kobewi
a0915e6dee
Add Dictionary.merge()
2022-05-31 21:05:56 +02:00
kleonc
9b556c96f0
Make Mesh::generate_triangle_mesh()
handle PRIMITIVE_TRIANGLE_STRIP
2022-05-31 13:57:42 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
Yuri Rubinsky
3ed2a0428c
Merge pull request #61515 from Geometror/improve-graphedit-hotzones
2022-05-30 17:39:34 +03:00
Hendrik Brucker
771cb1261a
Improve and fix the GraphNode port hotzones
...
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
Hugo Locurcio
e4706ef933
Change instances of "returns an empty Variant" to "returns null" in docs
...
While "returns an empty Variant" technically valid (it's constructed
as `Variant()` in C++), "returns null" is more intuitive to users.
2022-05-29 20:12:32 +02:00
dtesniere
55b63eceaa
Fix class name : change "string" to "String"
...
Change case of "s" letter : "string" does not compile but "String" does (for gdScript)
2022-05-29 00:40:56 +02:00
Rémi Verschelde
f2a7bb6b51
Merge pull request #59943 from jordigcs/gdscript_warning_enums
...
Add enum values (Ignore, Warn, Error) to GDScript warnings
2022-05-26 00:52:01 +02:00
Lyuma
7e28385948
Add StreamPeerSSL.get_stream() accessor.
2022-05-25 12:43:19 -07:00
Nathan Franke
f464caf214
finish renaming AUTH to AUTHORITY
2022-05-25 14:31:46 -05:00
Rémi Verschelde
40da29341e
Merge pull request #61243 from Calinou/fogvolume-add-cone-cylinder-shape
...
Add Cone and Cylinder shapes to FogVolume
2022-05-25 17:30:06 +02:00
Hugo Locurcio
a98e31aa3a
Add any()
and all()
methods to Array
...
These can be used as faster, more convenient shorthands to
using `filter()` + `size()`.
2022-05-25 16:09:10 +02:00
Rémi Verschelde
3ff6d794c0
HTML5: Enable mbedTLS module for Crypto object
...
Increases the size of the wasm by around 3% (~300-350 KiB).
This enables using the Crypto object for hashing, signing and encryption,
and therefore reduces the gap between the features of the HTML5 platform
and other platforms.
Closes https://github.com/godotengine/godot-proposals/issues/3574 .
2022-05-25 14:19:49 +02:00
Hugo Locurcio
e85459dcd1
Add Cone and Cylinder shapes to FogVolume
...
This complements the existing Ellipsoid and Box local fog shapes.
This can be used to represent a light cone coming from a SpotLight.
2022-05-25 12:35:53 +02:00
Rémi Verschelde
19e3c7fcd9
Merge pull request #61040 from Calinou/basematerial3d-rename-tex-properties
2022-05-24 23:36:29 +02:00
Hugo Locurcio
a8a6e664fb
Rename BaseMaterial3D properties to use fully spelled out "texture"
...
This is more consistent with other BaseMaterial properties such as
`ao_texture_channel`.
This also improves the documentation related to
`albedo_texture_force_srgb`.
This also fixes a typo in the 3.x material converter.
2022-05-24 20:44:17 +02:00
clayjohn
4f82b1bd20
Use IGN instead of white noise for sky dithering
2022-05-24 10:57:07 -07:00
Juan Linietsky
4dd6f56c82
Merge pull request #61342 from reduz/reorganize-region-rect-editor
...
Reorganize Region Rect Editor
2022-05-24 12:25:12 +02:00
Rémi Verschelde
2998be4f99
Merge pull request #60061 from monkeyman192/allow_treeitem_visible
...
Allow TreeItem nodes to toggle visibility
2022-05-24 10:53:41 +02:00
Rémi Verschelde
65dd1bf023
Merge pull request #47665 from trollodel/tree_more_buttons_signals
2022-05-24 10:50:55 +02:00
Vincent D
697316155f
Fix global properties and add global skew for node2d
...
Renamed parent item variable in node2d global setters and optimize
Aligned variable renaming in global setters
Optimize node2d global setters
Add global skew description in doc
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2022-05-24 09:49:24 +02:00
reduz
4044cc7d57
Reorganize Region Rect Editor
...
Problem:
* Region rect was pretty much a hidden editor. Because it was annoying for it to pop up automatically, it did not.
* Because it did not, most users have no idea it even exists.
* But because it is a transient editor, it would steal focus of other editor and annoy users.
Solution:
* Editor has been moved to a window.
* Regions that can be edited add a button below the region which can be pressed to open the editor.
This required a slight change in EditorInspectorPlugin to allow custom editors to be below others.
2022-05-24 09:42:49 +02:00
Rémi Verschelde
56dbfcdcba
Merge pull request #61203 from Calinou/cylindermesh-add-cap-properties
...
Add properties to disable top/bottom cap generation in CylinderMesh
2022-05-24 08:21:01 +02:00
Rémi Verschelde
1314e6cbcc
Merge pull request #60803 from Chaosus/shader_hint_rename
...
Rename `hint_albedo`, `hint_white/black` in shaders
2022-05-24 08:15:33 +02:00
Rémi Verschelde
911e915b2d
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 10414fa893
)
2022-05-24 00:11:26 +02:00
Rémi Verschelde
9923851370
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
2022-05-23 21:32:19 +02:00
reduz
12474fd87a
Improve MultiplayerSynchronizer editor usability
...
* Add a button to add properties (which lets you select node and property)
* Add ability to drag properties and drop them to the editor.
* Made the editor transient (not always visible on the bottom) since its not needed most of the time.
* Added the ability to pin the editor, in case dragging properties from other nodes is desired.
2022-05-23 13:14:59 +02:00
Rémi Verschelde
603de7a055
Merge pull request #61270 from Calinou/sphereshape3d-decrease-default-radius
...
Decrease SphereShape3D's default radius to 0.5 to match primitive mesh
2022-05-23 06:07:05 +02:00
Rémi Verschelde
a80793fcb8
Merge pull request #61235 from smix8/navigation_agent_avoidance_processing_4.x
2022-05-22 19:11:32 +02:00
Hugo Locurcio
f008e98ea2
Decrease SphereShape3D's default radius to 0.5 to match primitive mesh
...
The SphereMesh primitive mesh's size was recently decreased, but
unlike other primitive meshes, the sphere shape's radius wasn't
adjusted accordingly.
2022-05-22 08:46:01 +02:00
trollodel
307427af89
Add the button pressed to some signals in Tree
2022-05-21 17:16:52 +02:00
Hugo Locurcio
d23071cae3
Add properties to disable top/bottom cap generation in CylinderMesh
2022-05-21 02:06:53 +02:00
smix8
7f3688603c
Process NavigationAgent2D/3D avoidance on demand only
...
Changes NavigationAgent avoidance callback to a toggle that is disabled by default.
Also fixes a few missing descriptions / wrong warnings.
2022-05-20 23:47:10 +02:00
reduz
45af29da80
Add a new HashSet template
...
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
2022-05-20 22:40:38 +02:00
Rémi Verschelde
b3bb83b651
Merge pull request #61224 from Calinou/filedialog-tweak-disabled-files-color
2022-05-20 18:46:28 +02:00
Hugo Locurcio
8962d2760d
Tweak the disabled files text color in FileDialog for readability
...
Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.
2022-05-20 16:59:34 +02:00
Hugo Locurcio
39a598e020
Document Decal interactions with transparent materials
2022-05-20 16:16:51 +02:00
Rémi Verschelde
29708f79a8
Merge pull request #61170 from smix8/navigation_navmesh_property_limits_4.x
...
Remove arbitrary NavigationMesh bake property limits
2022-05-20 08:47:20 +02:00
Rémi Verschelde
a5109d49ce
Merge pull request #61026 from timothyqiu/quit-prop
...
Make `auto_accept_quit` and `quit_on_go_back` properties
2022-05-20 08:13:00 +02:00
Aaron Franke
5dc3bfb80e
Use suffixes for units in nodes and resources
2022-05-19 14:34:27 -05:00
Rémi Verschelde
3aa83a0235
Merge pull request #61020 from timothyqiu/wait-busy
2022-05-19 15:41:41 +02:00
Rémi Verschelde
b9bb3de6a1
Merge pull request #61142 from bruvzg/rtl_threaded
2022-05-19 14:27:48 +02:00
Haoyu Qiu
121986bbad
Fix a typo in EditorFileSystem classref
2022-05-19 18:53:01 +08:00
bruvzg
cfcdfc38e2
[RTL] Add support for shaping in background thread.
2022-05-19 09:34:44 +03:00
smix8
cda93057f7
Remove arbitrary NavigationMesh bake property limits
...
Lowers or removes the slider limits and steps from NavigationMesh resources and changes some default values to better work with realistic unit sizes by default.
2022-05-18 23:00:12 +02:00
Ricardo Buring
f072aa69a9
Add motion parameter to toggle whether recovery is reported as a collision
...
This makes the intent explicit in each use case.
2022-05-18 16:40:29 +02:00
Rémi Verschelde
5b3d596285
Merge pull request #60774 from TokageItLab/root-seek-mode
...
Fixed broken root motion calculation in internal process of `AnimationBlendTree` such as `NodeOneShot`
2022-05-18 15:24:21 +02:00
Rémi Verschelde
5c79782c7e
Merge pull request #61088 from groud/keep_unhandled_events_on_pass
2022-05-17 23:50:55 +02:00
Rémi Verschelde
438202dbd8
i18n: Sync classref translations with Weblate
...
(cherry picked from commit e86d840d4f
)
2022-05-17 23:45:37 +02:00
Raul Santos
a9a41df0c8
Expose Curve points in the inspector
...
Exposes the Curve, Curve2D and Curve3D points as an array property.
2022-05-17 18:08:36 +02:00
Gilles Roudière
6db8b7616d
Keep input event as unhandled if they go through a control set to MOUSE_FILTER_PASS
2022-05-17 15:41:58 +02:00
Rémi Verschelde
3506825930
Merge pull request #61112 from Chaosus/graph_edit_delete_nodes_param
2022-05-17 13:10:04 +02:00
Yuri Rubinsky
c84d050980
Add node list param to GraphEdit::delete_nodes_request
signal
2022-05-17 13:28:21 +03:00
Rémi Verschelde
d64fc0c114
Merge pull request #61101 from clayjohn/GLES3-3D
2022-05-17 12:13:37 +02:00
Lyuma
41824c6cc8
Bind EditorFileSystem::reimport_files and improve docs
...
reimport_files offers a way for scripts to modify imported resources directly.
For example, images, sounds or glTF documents which are written by an external program.
It is much faster than `scan`, and can allow scripts to synchronously proceed after import finishes.
2022-05-17 00:45:48 -07:00
clayjohn
9b61c855ef
Add basic lighting to GLES3 renderer.
...
This includes all three light types and IBL, but does not include shadows or any form of GI
2022-05-16 15:07:09 -07:00
kobewi
74e135c90b
Clarify seek() in relation to animation_finished
2022-05-16 20:04:38 +02:00
Rémi Verschelde
4654de5474
Merge pull request #61035 from smix8/navigation_mesh_generator_missing_doc_4.x
2022-05-16 17:28:07 +02:00
smix8
375c4ef312
Add missing class doc to NavigationMeshGenerator
...
Adds missing class documentation for NavigationMeshGenerator bake() and clear() functions.
2022-05-16 16:05:10 +02:00
monkeyman192
31381f8c9e
Allow TreeItem nodes to toggle visibility
2022-05-16 23:55:05 +10:00
Rémi Verschelde
a2140c4bf8
Merge pull request #59596 from Calinou/doc-camera-project-ray-normal-origin
2022-05-16 15:03:57 +02:00
Rémi Verschelde
f2accdb73d
Merge pull request #60086 from fire-forge/editorspinslider-hide-slider
2022-05-16 15:02:09 +02:00
Rémi Verschelde
b154f445d5
Merge pull request #60507 from bruvzg/textmesh
...
Implement TextMesh.
2022-05-16 13:52:57 +02:00
Rémi Verschelde
df2de05c5f
Merge pull request #60463 from Geometror/improve-vs-1
2022-05-16 13:50:42 +02:00
Rémi Verschelde
a4fdedbf49
Merge pull request #61058 from Calinou/doc-performance
2022-05-16 13:48:43 +02:00
Rémi Verschelde
842a57b0d9
Merge pull request #60992 from Calinou/doc-gpuparticles3d-attractors-collision
2022-05-16 13:48:33 +02:00
Rémi Verschelde
9ba0fac1ba
Merge pull request #61038 from smix8/navigation_obstacle_rid_config_warn_4.x
2022-05-16 13:47:20 +02:00
Rémi Verschelde
95da5436dc
Merge pull request #61032 from smix8/navigationmesh_bake_no_threads_4.x
2022-05-16 13:47:06 +02:00
Rémi Verschelde
f3c0e75fba
Merge pull request #60958 from smix8/navigation_server_rid_utility_4.x
2022-05-16 13:46:49 +02:00
Hugo Locurcio
e6b0b577ed
Document GPUParticles3D attractors and collision
2022-05-16 08:21:46 +02:00
Hugo Locurcio
03bdd4e8a6
Improve the Performance class documentation
...
This makes documentation for the Performance class 100% complete.
2022-05-16 01:08:11 +02:00
smix8
49c603e127
Disable threaded NavigationMesh bake on unsupported OS
...
Automatically disables threaded NavigationMesh bake when OS does not support threads.
2022-05-16 00:55:15 +02:00
smix8
001d89223f
Expose NavigationObstacle2D/3D get_rid() and add config warning
...
Exposes get_rid() function for scripting.
Adds configuration warning when obstacle is used with not intended static body parent.
2022-05-15 01:03:22 +02:00
Casper Beyer
c6394906e6
Fix typo in TILE_LAYOUT_STACKED_OFFSET
description
2022-05-15 01:17:34 +08:00
Haoyu Qiu
82fdad148f
Make auto_accept_quit and quit_on_go_back properties
2022-05-14 18:18:26 +08:00
Haoyu Qiu
ffd5362187
Swap the meaning of CURSOR_WAIT and CURSOR_BUSY
2022-05-14 10:13:42 +08:00
SnailRhymer
bdf086c781
Document Shape2D's collide_and_get_contacts() and collide_with_motion_and_get_contacts()
...
Expand on the format of the output array for collide_and_get_contacts and collide_with_motion_and_get_contacts, and describe how the contact point pairs can be used to calculate collision normals and depths.
2022-05-13 15:06:46 +01:00
Rémi Verschelde
785708a582
Merge pull request #60981 from Calinou/doc-animatedsprite2d
2022-05-13 14:56:52 +02:00
bruvzg
05963674a7
Implement TextMesh resource.
...
Apply simulated slant and embolden to the TextServer `gont_get_glyph_contours` results.
2022-05-13 08:20:22 +03:00
Hugo Locurcio
515676a7f5
Remove unused GPUParticlesCollisionHeightField3D.follow_camera_push_ratio
property
...
- Rename setter/getter methods for consistency.
- Remove section in the inspector as there is now only 1 property
within the section.
- Add performance hints to property hints.
2022-05-13 04:19:28 +02:00
Megamega53
de968baca9
Improve AnimatedSprite2D description in the class reference
2022-05-13 01:36:07 +02:00
Rémi Verschelde
826f5358a1
Merge pull request #60771 from snailrhymer/enum-indentation-doc-fix
...
Indent bullet points in enum descriptions
2022-05-12 21:13:21 +02:00
Rémi Verschelde
ff30a09993
Merge pull request #60643 from clayjohn/GLES3-3D
2022-05-12 21:08:02 +02:00
SnailRhymer
38cf07b768
Indent bullet points in enum descriptions
...
When converting doc xml files to rst, add an indenation level to bullet points in the text description of enum values.
Also add check to avoid out of bounds error in rstize_text.
2022-05-12 19:34:49 +01:00
smix8
371054e3e5
Add NavigationServer2D/3D API functions to find missing RID info
...
Utility functions for NavigationServer2D/3D to find missing RID information when working with Server API directly. e.g. from map to regions and agents, from agent or region to map, from region to map and agents and so on ....
Requirement to work with NavigationServer API exklusive without SceneTree nodes and when juggling agents and regions between multiple navigation maps.
2022-05-12 20:23:19 +02:00
clayjohn
652adcd5bf
Basic 3D rendering
2022-05-12 10:37:27 -07:00
Yuri Rubinsky
a439832035
Fix signal completion in GDScript editor
2022-05-12 16:10:48 +03:00
reduz
8b7c7f5a75
Add a new HashMap implementation
...
Adds a new, cleaned up, HashMap implementation.
* Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing ).
* Keeps elements in a double linked list for simpler, ordered, iteration.
* Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much
for performance vs keeping the key, but helps replace old code).
* Uses a more modern C++ iterator API, deprecates the old one.
* Supports custom allocator (in case there is a wish to use a paged one).
This class aims to unify all the associative template usage and replace it by this one:
* Map<> (whereas key order does not matter, which is 99% of cases)
* HashMap<>
* OrderedHashMap<>
* OAHashMap<>
2022-05-12 11:21:29 +02:00
Yuri Roubinsky
dbd7a31507
Implement exponential operator (**) to GDScript/Expressions
2022-05-11 16:30:37 +03:00
Rémi Verschelde
72eb1b876a
Merge pull request #60922 from KoBeWi/JoinedStringArray
2022-05-10 16:42:04 +02:00
Rémi Verschelde
b6983eeccf
Merge pull request #51591 from Calinou/call-group-default-immediate
...
Make `{call,set,notify}_group()` immediate by default
2022-05-10 14:52:23 +02:00
Rémi Verschelde
aee88a7370
Merge pull request #46208 from floppyhammer/AddFillModeToProgressBar
2022-05-10 14:48:44 +02:00
kobewi
3da7dda854
Mention how to join PackedStringArray
2022-05-10 13:56:31 +02:00
Rémi Verschelde
cc66d5e173
Merge pull request #60855 from timothyqiu/packed-array-find
...
Add search methods for packed arrays
2022-05-10 13:39:55 +02:00
floppyhammer
f76d417d8a
Add fill_mode to ProgressBar
2022-05-10 19:34:48 +08:00
Yuri Roubinsky
a8bbe570ca
Rename hint_albedo
, hint_white/black
in shaders
2022-05-09 22:50:18 +03:00
Yuri Rubinsky
033e211724
Merge pull request #60845 from Chaosus/vs_color_func
2022-05-09 21:34:34 +03:00
kobewi
c836bdf5b1
Mention that Area2D doesn't support one_way_collision
2022-05-09 15:00:53 +02:00
Silc Renew
ba8398f270
Fixed delta & Implement selection of whether or not to seek root
2022-05-09 08:28:32 +09:00
Haoyu Qiu
380a53f02f
Add search methods for packed arrays
...
* count()
* find()
* rfind()
2022-05-07 20:16:11 +08:00
Yuri Roubinsky
ee1b7a033d
Push HSV2RGB/RGB2HSV
to ColorFunc
(from VecFunc
) in visual shaders
2022-05-07 09:49:12 +03:00
Rémi Verschelde
61517b6d39
Merge pull request #59720 from Vitika9/itemlist-signals
2022-05-06 10:46:47 +02:00
Vitika9
aef3b5681d
Changed signals of ItemList
2022-05-06 13:09:04 +05:30
Rémi Verschelde
f70dd61a49
Merge pull request #60811 from smix8/astar_zero_point_weight_4.x
2022-05-06 08:40:12 +02:00
Rémi Verschelde
f70085a942
Merge pull request #60802 from Calinou/profiler-idle-time-rename
2022-05-06 08:28:59 +02:00
smix8
868fe4942c
Allow AStar2D/AStar3D zero point weight
...
Allow AStar2D/AStar3D zero point weight.
Limit was set to 1 which seemed like an arbitrary value as lower values down to zero can be useful for common gameplay navigation elements like teleports.
2022-05-06 02:33:10 +02:00
Hugo Locurcio
79be2c7b75
Rename profiler "Idle Time" to "Process Time"
...
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.
2022-05-05 20:23:47 +02:00
Casper Beyer
c1a183975f
Fix get_coords_level_tile_proxy
description
2022-05-06 02:00:41 +08:00
Hugo Locurcio
cd4b60d0d4
Handle CLI arguments without a value in OS.get_cmdline_args()
example
...
Command lines such as `--host --address 127.0.0.1` are now parsed as
`{"host": "", "address": "127.0.0.1"}`.
2022-05-05 19:20:03 +02:00
Rémi Verschelde
0ae2ba0862
Merge pull request #60263 from SirQuartz/Chronos
2022-05-05 18:26:05 +02:00
Rémi Verschelde
a7d4ac3dd5
Merge pull request #60304 from ellenhp/document_stereo_enhance
2022-05-05 18:04:54 +02:00
Hugo Locurcio
aabbb40009
Make {call,set,notify}_group()
immediate by default
...
This results in less surprising behavior out of the box.
Internal usages were modified to keep the existing behavior
identical there.
2022-05-05 16:59:37 +02:00
Nicholas Huelin
8409d92282
Fix inconsistent naming in Time
2022-05-05 16:00:37 +02:00
Ellen Poe
76ba7099c3
Partially document AudioEffectStereoEnhance.
2022-05-05 15:59:07 +02:00
Rémi Verschelde
71e41eb395
Merge pull request #60597 from reduz/missing-node-resource-placeholders
2022-05-05 15:57:50 +02:00
Rémi Verschelde
f10f2a7232
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 021f92a1be
)
2022-05-05 15:55:50 +02:00
Rémi Verschelde
e7a58a7eb6
Core: Rename math 'phi' arguments to 'angle'
2022-05-05 14:17:39 +02:00
Micky
87599054d2
Specify return value of Transform3D.scaled() and more
...
Add more `[code]` (Transform3D)
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
Add more `[code]` (Transform2D)
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2022-05-05 13:42:24 +02:00
Pawel Lampe
88d3f14697
Add ability to bake_navigation_mesh
off thread.
...
This feature makes it possible to workaround problems such as:
- long baking time due to heavy synchronization when parsing geometry
from mesh instances
- crash when freeing `NavigationMeshInstance` while baking
- errors when actively baking node tree is being detached from the
scene tree
2022-05-04 23:00:18 +02:00
Rémi Verschelde
38a922a365
Merge pull request #60740 from KoBeWi/postapo_frame_draw
2022-05-04 20:37:51 +02:00
Rémi Verschelde
84f64ddde9
Merge pull request #60723 from reduz/refactor-module-initialization
2022-05-04 19:08:43 +02:00
reduz
de0ca3b999
Refactor module initialization
...
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Rémi Verschelde
3ac1c8e9f3
Merge pull request #60731 from KoBeWi/action_editor
...
Clarify InputMap.action_get_events() in the editor
2022-05-04 09:03:21 +02:00
kobewi
708a3b3db8
Improve Viewport.get_texture() description
2022-05-04 02:30:32 +02:00
mdavisprog
f3c1232c59
Add OS::is_process_running function.
...
Adds the is_process_running function to the native OS class and exposes it to script.
This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function.
Documentation is updated to reflect new API function.
2022-05-03 17:27:17 -07:00
kobewi
5235584066
Clarify InputMap.action_get_events() in the editor
2022-05-03 19:45:50 +02:00
reduz
0a57f964a3
Implement missing Node & Resource placeholders
...
Implemented by request of @neikeq to advance in the GDExtension version of Mono.
* If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden).
* If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted).
This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03 17:08:09 +02:00
Rémi Verschelde
b239275989
Merge pull request #60583 from reduz/placeholder-assets
2022-05-03 16:43:13 +02:00
Rémi Verschelde
8aa791d166
Merge pull request #59321 from Calinou/primitive-meshes-csg-tweak-default-sizes
...
Decrease default sizes of some primitive and CSG meshes for consistency
2022-05-03 15:19:30 +02:00
Rémi Verschelde
6530d46d67
Merge pull request #51102 from Calinou/renderingserver-add-api-version-getter
...
Add `get_video_adapter_api_version()` to RenderingServer
2022-05-03 14:44:55 +02:00
Rémi Verschelde
77c9138e72
Merge pull request #24402 from guilhermefelipecgs/state_machine_improvement
...
Improvements to AnimationNodeStateMachine
2022-05-03 14:25:30 +02:00
Rémi Verschelde
3614492dd3
Merge pull request #60644 from PureAsbestos/master
2022-05-03 11:37:15 +02:00
Hugo Locurcio
31194f5b1c
Add get_video_adapter_api_version()
to RenderingServer
...
This method can be used to get the graphics API version currently in
use (such as Vulkan). It can be used by projects for troubleshooting
or statistical purposes.
2022-05-03 01:18:35 +02:00
Guilherme Felipe
e7056c195d
Improvements of state machine
...
- Open the menu to add new animation nodes by dragging the transitions to
empty areas and automatically connecting them.
- Adds box selection to the state machine.
- Add feature to group/ungroup selected nodes in a "sub" state machine.
- Add start/end node by default. In addition, add new color to these
nodes to differentiate then.
- Add tooltip for transitions to show the connection "from -> to".
- Add new "type" of transition line when multiple transitions are
grouped.
- Add popup to connect nodes in sub state machine.
- Add dialog to select which nodes can be deleted when they are grouped.
- Add classes:
AnimationNodeStartState
AnimationNodeEndState
EditorAnimationMultiTransitionEdit
- Implements disabled transition
API Changes:
- Now it's posible to add transitions between state machines,
`AnimationNodeStateMachine::add_transition` will works with relative path,
this means you can use it like this `add_transition("Idle", "Walk", tr)`
or `add_transition("Idle", "StateMachine/Shoot)`.
2022-05-02 13:06:36 -03:00
Marcel Admiraal
97e87a2daf
Fix screen_get_usable_rect returning display safe area
2022-05-02 09:31:32 +02:00
Rémi Verschelde
bc7ccc909b
Merge pull request #60551 from madmiraal/implement-3466
...
Add a method for obtaining display cutouts on Android
2022-05-02 07:56:41 +02:00
Rémi Verschelde
4e06ce7840
Merge pull request #60655 from smix8/navigation_region_rid_4.x
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-05-01 14:17:40 +02:00
Rémi Verschelde
122fa74f6c
Merge pull request #60650 from bruvzg/lbl_n_spr_z_order
2022-04-30 16:32:32 +02:00
bruvzg
0a0e94d996
Expose Label3D and Sprite*3D material render priority properties.
2022-04-30 15:09:30 +03:00
smix8
05d06b8957
Add get_region_rid() NavigationRegion2D and NavigationRegion3D
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30 13:27:30 +02:00
Rémi Verschelde
f131ec336b
Merge pull request #60614 from timothyqiu/lerp-angle-doc
2022-04-30 13:25:04 +02:00
Haoyu Qiu
492903a0b2
Document lerp_angle behavior when angles are approximately PI apart
2022-04-30 19:02:21 +08:00
Rémi Verschelde
e619e0e4d4
Merge pull request #59419 from Calinou/doc-basematerial3d-detail
2022-04-30 10:49:36 +02:00
Hendrik Brucker
6d876baf60
Improve the VisualShader/VisualScript editor UI
2022-04-30 03:56:57 +02:00
PureAsbestos
a89b3f872d
Change 'throws an error' to 'prints an error' in classref
2022-04-29 19:20:46 -05:00
Hugo Locurcio
7ac45542f6
Improve CollisionObject2D and CollisionObject3D pickable documentation
2022-04-29 23:14:46 +02:00
Rémi Verschelde
7d999b7507
Merge pull request #59411 from Calinou/doc-tonemap
...
Improve documentation for tonemapping operators
2022-04-29 23:14:29 +02:00
Hugo Locurcio
91f9a48ada
Merge pull request #59418 from Calinou/doc-environment
2022-04-29 21:50:08 +02:00
Rémi Verschelde
0e98dbb19c
Merge pull request #60070 from Calinou/proceduralskymaterial-add-dithering
...
Add dithering to ProceduralSkyMaterial to combat banding
2022-04-29 20:28:11 +02:00
Hugo Locurcio
d567369c8f
Tweak the Viewport configuration warning to mention 2×2 size requirement
2022-04-29 20:25:05 +02:00
kobewi
8187a777ce
Small improvements to get_first_node_in_group()
2022-04-29 16:14:48 +02:00
Rémi Verschelde
ce01bf22be
Merge pull request #60405 from CheetoMonster/documentation-edits
...
BoxContainer description to point to the "Using Containers" page
2022-04-29 08:04:32 +02:00
bruvzg
be2ee9d277
[Label3D] Add offset property.
2022-04-28 21:23:15 +03:00
Rémi Verschelde
5a4e478b0f
Merge pull request #58599 from Calinou/styleboxflat-add-skew
...
Add a Skew property to StyleBoxFlat
2022-04-28 18:32:01 +02:00
Haoyu Qiu
6c01ef8f4c
Miscellaneous Tween fixes
2022-04-28 21:19:01 +08:00
bruvzg
6ab672d1ef
Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and Windows.
...
Implement TextServer word break method.
2022-04-28 14:35:41 +03:00
reduz
b02c7387c7
Implement placeholder assets
...
* Placeholder textures
* Placeholder meshes
* Placeholder material
This PR is the first step towards implementing https://github.com/godotengine/godot-proposals/issues/2756
It adds an asset type that uses no resources, which can be used to replace the existing ones on export for using on the upcoming server export.
2022-04-28 12:19:01 +02:00
Chris verBurg
3b941ed98c
Link to Container tutorial
...
Users happening across any of the Container pages may not already know the intent of Containers, or which others are available. This commit adds a link to the existing "GUI containers" page in their tutorials sections.
2022-04-28 00:22:43 -07:00
Hugo Locurcio
53b8899be9
Decrease default sizes of some primitive and CSG meshes for consistency
2022-04-27 22:45:38 +02:00
Rémi Verschelde
3e9ead05f2
Merge pull request #58685 from IgorKordiukiewicz/gpu_particles_2d_interpolation_property
...
Added interpolation property to GPUParticles2D
2022-04-27 13:58:41 +02:00
Rémi Verschelde
6e6fe2b025
Merge pull request #59582 from Faless/net/4.x_tcp_explicit_poll
2022-04-27 13:56:58 +02:00
Rémi Verschelde
1de51133c9
Merge pull request #60331 from KoBeWi/tween_static()
2022-04-27 13:20:11 +02:00
Rémi Verschelde
a680493397
Merge pull request #60275 from octetdev2/prefer-constant-for-docs
2022-04-27 12:19:08 +02:00
Rémi Verschelde
d22850234c
Merge pull request #59393 from techiepriyansh/move-gltf-export-under-scene-menu
2022-04-27 11:51:49 +02:00
Rémi Verschelde
2890ac7100
Merge pull request #60319 from TokageItLab/implement-global-rest
2022-04-27 11:06:42 +02:00
Rémi Verschelde
8dfa12cae7
Merge pull request #59979 from bruvzg/cpp_check2
2022-04-27 10:08:26 +02:00
Rémi Verschelde
74ae1ec545
doc: Update iOS hint for Input.vibrate_handheld after #60397
2022-04-27 09:45:44 +02:00
kobewi
b80e52f048
Expose move_to_trash()
2022-04-27 01:02:11 +02:00
Rémi Verschelde
e9e2aaf812
Merge pull request #60513 from Calinou/default-font-add-msdf-mipmap
...
Add MSDF and mipmap generation project settings for the default font
2022-04-26 22:39:55 +02:00
Fabio Alessandrelli
aee2240d5f
[Net] Allow branch-specific MultiplayerAPIs.
...
Removes custom_multiplayer from Node.
MultiplayerAPI overrides are now set at SceneTree level, and apply to
whole branches.
Impact on performance when using only the default multiplayer or
overriding it is minimal, the use of branches can likely be further
optimized by caching nodes and relevant MultiplayerAPI IDs.
2022-04-26 17:22:54 +02:00
Marcel Admiraal
71ce5857ec
Add a method for obtaining display cutouts on Android
2022-04-26 13:51:21 +02:00
Rémi Verschelde
06c33cca18
Merge pull request #60511 from akien-mga/readd-find_node
2022-04-26 09:42:19 +02:00
Rémi Verschelde
bef00b2b0d
Merge pull request #60445 from nathanfranke/minor-changes
...
small changes: improve OS.get_name classref, misc/scripts fixes, remove trailing quote
2022-04-25 23:10:48 +02:00
Rémi Verschelde
3e1df91ca6
Merge pull request #60450 from timothyqiu/packed-array-doc
...
Remove `Array` link in description of `Packed*Array`
2022-04-25 23:05:18 +02:00
Rémi Verschelde
baa0b4fdec
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 4c68304e2f
)
2022-04-25 17:19:45 +02:00
Rémi Verschelde
ac4e322ac8
Merge pull request #60472 from KoBeWi/dragging_rights
2022-04-25 16:56:57 +02:00
Rémi Verschelde
df4de306a9
Merge pull request #60490 from aaronfranke/dap-typo
2022-04-25 16:51:09 +02:00
Hugo Locurcio
43c34bf611
Add MSDF and mipmap generation project settings for the default font
...
This can be used to improve Label3D and scaled Control appearance
in prototypes.
2022-04-25 16:47:44 +02:00
Rémi Verschelde
02bb8e948f
Merge pull request #60261 from fire-forge/theme-prop-renames
2022-04-25 16:20:19 +02:00
Rémi Verschelde
63a052d96b
Merge pull request #60386 from bruvzg/label3d
2022-04-25 15:51:31 +02:00
Rémi Verschelde
9c2ea7e296
Node: Re-add find_node
as find_child
, improve docs
...
The new name contrasts it better with `find_parent`, and makes it clear
that it only matches child/descendant nodes.
Also rename `find_nodes` to `find_children` accordingly.
2022-04-25 15:21:22 +02:00
Rémi Verschelde
7c7ce7dcd7
Merge pull request #60298 from reduz/scene-unique-paths
2022-04-25 13:38:08 +02:00
reduz
8580f377a3
Implement Scene Unique Nodes
...
Implements https://github.com/godotengine/godot-proposals/issues/4096
* Nodes can be marked unique to the scene in the editor (or via code).
* Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched.
* Implementation is very optimal, as these nodes are cached.
2022-04-25 12:19:17 +02:00
kobewi
31a23ab33f
Improve descriptions for drag methods
2022-04-24 20:41:00 +02:00
Aaron Franke
fb6aaacaed
Fix type name typo in Debug Adapter Protocol
2022-04-24 03:21:23 -05:00
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
GTcreyon
ce1fcfcff9
Changed "pair" to "triplet" in Vector3 definition
2022-04-23 12:15:14 +01:00
Haoyu Qiu
24febff2dc
Remove Array link in description of PackedArrays
2022-04-23 11:06:02 +08:00
Nathan Franke
1304d72fc1
improve OS.get_name classref, misc/scripts fixes, remove trailing quote
2022-04-22 17:13:08 -05:00
bruvzg
be611c1c05
Implement Label3D node.
...
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
2022-04-22 12:08:46 +03:00
bruvzg
de4c97758a
Fix more issues found by cppcheck.
2022-04-20 10:34:00 +03:00
Yuri Rubinsky
f4b0c7a1ea
Merge pull request #60175 from Geometror/visual-shader-vector4
2022-04-20 08:33:42 +03:00
Hugo Locurcio
3ca4514866
Merge pull request #50175 from kleonc/image-blit-blend-fix-rects
...
`Image.blit_rect/blend_rect` Fix rects calculations for negative arguments
2022-04-19 16:30:08 +02:00
kobewi
3017530e26
Make Tween.interpolate_value() static
2022-04-17 23:13:39 +02:00
Silc 'Tokage' Renew
4d4ffa3a2c
Implement global rest
2022-04-18 02:11:19 +09:00
Haoyu Qiu
1b891069cd
Document timestamp decimal fraction in Time
2022-04-16 13:14:58 +08:00
Casper Beyer
beb7a9debe
Prefer constant tags for constants
2022-04-16 00:21:05 +08:00
Michael Alexsander
bab2f3c021
Add font_separator
and related properties to PopupMenu
2022-04-13 23:46:35 -03:00
Rémi Verschelde
321213d863
Merge pull request #60220 from YeldhamDev/the_line_must_be_drawn_here
...
Fix and tweak labeled separator in `PopupMenu`
2022-04-14 00:15:23 +02:00
Rémi Verschelde
970debed93
Merge pull request #60177 from reduz/animation-library-import
...
Import scenes as AnimationLibrary
2022-04-13 22:47:54 +02:00
Michael Alexsander
59c3d4e17f
Fix and tweak labeled separator in PopupMenu
2022-04-13 17:13:29 -03:00
reduz
66009318e0
Import scenes as AnimationLibrary
...
Added the ability to import scenes as AnimationLibrary
* Completes implementation of https://github.com/godotengine/godot-proposals/issues/4296
* Helps if you want to export animations to a separate file (say a GLTF) to avoid re-importing/exporting them every time the model changes.
* Helps if you simply want to have animations using a dummy model, which can be shared across multiple models.
Creates a secondary scene importer used only for animations.
**NOTE**: A new flag for scene importer: EditorSceneFormatImporter.IMPORT_DISCARD_MESHES_AND_MATERIALS has been added, to hint importers that they should skip meshes and animations (and hence make importing faster). It is not implemented in any importer yet, this should be done in a separate PR.
2022-04-13 15:06:56 +02:00
Rémi Verschelde
d27f60f0e8
Merge pull request #60199 from akien-mga/color-clarify-srgb-linear-conversions
2022-04-13 13:41:21 +02:00
Rémi Verschelde
b06ac80f81
Merge pull request #60028 from LightningAA/Improve-Signal-Docs
2022-04-13 12:58:18 +02:00
Rémi Verschelde
9b89c07075
Merge pull request #60034 from Calinou/camera-allow-lower-size
2022-04-13 12:48:08 +02:00
Rémi Verschelde
46ef52162e
Color: Rename to_srgb
/to_linear
to include base color space
...
This helps reduce confusion around sRGB <> Linear conversions by making
both input and output color spaces explicit.
2022-04-13 11:45:52 +02:00
Rémi Verschelde
8904731b8b
Merge pull request #60012 from Sauermann/fix-collisionobject-canvas-doc
2022-04-13 09:27:56 +02:00
Rémi Verschelde
43305c6b79
Merge pull request #60017 from timothyqiu/nav-server-free
...
Rename `NavigationServer`'s `free` method to `free_rid`
2022-04-13 08:33:18 +02:00
SuddenlyNothing
892c31e149
Add documentation to CheckBox
2022-04-12 21:05:55 +02:00
Hendrik Brucker
cf58d23a72
Add Vector4 to VisualShader
2022-04-12 19:09:29 +02:00
Rémi Verschelde
d9cb39c2e8
Merge pull request #60170 from ConteZero/context_menu
2022-04-12 18:42:58 +02:00
Yuri Rubinsky
3d63f6e36d
Merge pull request #60171 from Chaosus/restore_aa
2022-04-12 18:09:58 +03:00
ConteZero
645aded7e9
Add context menu to RichTextLabel
2022-04-12 16:28:38 +02:00
Priyansh Rathi
0ea7780e33
move gltf export under scene menu
2022-04-12 19:42:41 +05:30
Rémi Verschelde
724dd82f92
Merge pull request #60069 from Calinou/fsr-fix-editor-enum
2022-04-12 14:33:52 +02:00
Yuri Roubinsky
6e9535a9c8
Restore antialiasing for draw_line
2022-04-12 13:03:56 +03:00
Haoyu Qiu
2fa3c65d30
Improves EditorInspector documentation
2022-04-12 12:08:24 +08:00
Rémi Verschelde
9528aa42be
Merge pull request #60102 from KoBeWi/graphememe
2022-04-11 17:49:46 +02:00
Rémi Verschelde
4ab86c6731
Merge pull request #59980 from reduz/animation-libraries
2022-04-11 14:18:35 +02:00
Rémi Verschelde
2ec68599a4
Merge pull request #60111 from KoBeWi/the_files_have_landed
2022-04-11 12:52:51 +02:00
reduz
6f401439f8
Implement Animation Libraries
...
* Instead of containing single animations, AnimationPlayer now contains libraries.
* Libraries, in turn, contain the animations.
This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models.
Missing (will be done on separate PRs):
* Make it possible to import scenes (dae/fbx/gltf) as animation libraries.
* Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-04-11 12:51:54 +02:00
Rémi Verschelde
596e529a59
Merge pull request #60125 from Calinou/makerst-improve-error-reporting
2022-04-11 12:51:31 +02:00
Rémi Verschelde
ca9372622f
Merge pull request #60104 from ConteZero/shortcut_keys
2022-04-11 12:02:42 +02:00
Hugo Locurcio
f0b860fbad
makerst: Improve error reporting
...
- List file names before error descriptions, as is common in linters.
- Print the number of errors reported at the end of the list.
- Use double quotes instead of single quotes in messages.
2022-04-11 02:34:37 +02:00
kobewi
63de41b996
Improvements to files_dropped signal
2022-04-11 00:37:06 +02:00
ConteZero
addadaaa24
Add select_all() to RichTextLabel
2022-04-10 18:03:10 +02:00
kobewi
2c85599218
Improve shaped_text_get_word_breaks()
2022-04-10 17:43:52 +02:00
FireForge
8e752b06e8
Expose EditorSpinSlider.hide_slider
2022-04-09 16:31:22 -05:00
Hugo Locurcio
bc2ca2ebcf
Add dithering to ProceduralSkyMaterial to combat banding
...
Dithering was already present in PhysicalSkyMaterial. This brings
it to ProceduralSkyMaterial as well, with the same algorithm
and default intensity.
2022-04-09 18:29:41 +02:00
Hugo Locurcio
d15b69118d
Fix 3D scaling enum size in the editor and improve descriptions
2022-04-09 17:53:45 +02:00
fabriceci
09efb1f726
Fix up direction doc description
2022-04-09 12:59:24 +02:00
Hugo Locurcio
2252663163
Allow size
values as low as 0.001
in Camera3D's orthogonal/frustum mode
...
This allows for lower field of view (or higher zoom) in orthogonal
and frustum camera modes.
The property hint also allows setting the size with greater precision.
2022-04-08 18:49:45 +02:00
Aaron Record
dc4bf7f6e6
Add tutorial links to Signal's documentation
2022-04-08 08:25:45 -06:00
Haoyu Qiu
63a9188ddb
Rename NavigationServer's free method to free_rid
2022-04-08 17:39:17 +08:00
Markus Sauermann
b9c91d620e
Add a note about collisions in different canvases.
2022-04-08 09:27:31 +02:00
Rémi Verschelde
0f9231ca0f
Merge pull request #59788 from Vitika9/59711
2022-04-07 15:30:57 +02:00
jordi
14bad75206
Add enum values (Ignore, Warn, Error) to GDScript warnings
2022-04-06 10:57:33 -05:00
kobewi
6e622c58c5
Change gizmo_extents to property
2022-04-05 16:16:28 +02:00
Rémi Verschelde
f00803b8a5
Merge pull request #56695 from bruvzg/mod_unicode_input
2022-04-05 14:03:39 +02:00
Rémi Verschelde
c91f4ac419
Merge pull request #59910 from rcorre/array-remove-doc
2022-04-05 13:43:21 +02:00
Ryan Roden-Corrent
f84e2db35e
Clarify Array.erase for nonexistant element.
...
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.
2022-04-05 07:07:56 -04:00
bruvzg
d1207a0504
[Input] Add extra shortcut_input
input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
Rémi Verschelde
f084d50cdd
Merge pull request #59880 from m4gr3d/update_resizeable_main
2022-04-04 19:06:54 +02:00
Rémi Verschelde
fc45c28660
Merge pull request #59841 from KoBeWi/drag_box
2022-04-04 18:24:06 +02:00
Fredia Huya-Kouadio
f1a7caf9bb
Remove duplicate resizable
settings
2022-04-04 09:18:07 -07:00
Rémi Verschelde
e659eb66a0
Merge pull request #59874 from ConteZero/richtextlabel_deselect
2022-04-04 16:57:11 +02:00