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
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
ConteZero
45159e88e1
Add deselect() to RichTextLabel
2022-04-04 16:06:57 +02:00
Igor Kordiukiewicz
fd54762892
Added interpolation property to GPUParticles2D
2022-04-04 15:51:13 +02:00
Rémi Verschelde
338b23d572
Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editor
2022-04-04 14:26:28 +02:00
Bastiaan Olij
9b7b9de0e5
Add action map editor for OpenXR
2022-04-04 18:43:29 +10:00
kobewi
c8de265307
Mention how to add dragging for SpinBox's LineEdit
2022-04-03 19:40:14 +02:00
Rémi Verschelde
c630c2001d
Merge pull request #59633 from EricEzaM/better-code-complete-update
...
Improve sorting of Code Completion options.
2022-04-03 12:34:00 +02:00
Rémi Verschelde
6bbd4def45
Merge pull request #59415 from KoBeWi/tween_time()
2022-04-02 00:31:40 +02:00
Vitika9
ff75b30e6e
Removed show_on_top property in CanvasItem
2022-04-01 18:40:40 +05:30
Rémi Verschelde
26048c805b
Merge pull request #59331 from bartekd97/navigation-agent-layers
2022-04-01 13:35:51 +02:00
Max Hilbrunner
c7f6af2855
Merge pull request #59759 from novaplusplus/month_late_typo_fix
...
Fixing some of my own typos
2022-04-01 12:49:17 +02:00
Eric M
4ab605d14d
Improve sorting of Code Completion options.
...
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-04-01 20:39:09 +10:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Rémi Verschelde
142a039f43
Merge pull request #59712 from Calinou/doc-canvasitem-top-level
2022-03-31 23:18:54 +02:00
Rémi Verschelde
8e5d927af5
Merge pull request #59590 from Calinou/rename-print-stray-nodes
2022-03-31 22:21:51 +02:00
nova++
05718796db
Fixing some of my own typos...
...
(and a little improvement to wording that was bugging me)
2022-03-31 14:20:37 -04:00
Hugo Locurcio
a29f2bfe54
Rename `Node.print_stray_nodes()` to `Node.print_orphan_nodes()`
...
The "orphan" terminology is already used elsewhere.
2022-03-31 18:33:02 +02:00
Rémi Verschelde
a647fb3e62
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-03-31 14:07:29 +02:00
Hugo Locurcio
f049c7ed06
Clarify what `top_level` does in CanvasItem
2022-03-31 02:04:55 +02:00
Hugo Locurcio
de363db2a6
Improve documentation for Array operators
2022-03-30 20:04:45 +02:00
K. S. Ernest (iFire) Lee
0a6889d834
Add fbx2gltf support for importing .fbx files
...
Lets you drag or place .fbx files in the project folder and it will import the files.
An editor setting sets the location of the fbx2gltf binary.
Enables .fbx and .blend by default.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-03-30 15:22:46 +02:00
Rémi Verschelde
118f29694b
Merge pull request #59691 from akien-mga/remove-adhoc-fbx-importer
2022-03-30 14:44:07 +02:00
Rémi Verschelde
03c58954c0
Merge pull request #58436 from piiertho/feature/typed-vararg-method-bind
2022-03-30 13:47:35 +02:00
Max Hilbrunner
3f78375cce
Merge pull request #58934 from Karmavil/doc/classes/array.xml
...
doc: Add descriptions for Array operators
2022-03-30 13:40:13 +02:00
Rémi Verschelde
33d477498e
Remove ad-hoc FBX importer
...
This importer was the fruit of a lot of amazing reverse engineering
work by RevoluPowered, based on the original Assimp importer that was
introduced by fire.
While promising and well tuned for a specific type of FBX scenes, it
was found to have many flaws to support the many FBX exporters and
legacy models that Godot users want to use. As we currently lack a
maintainer to improve it, those issues are left unresolved and FBX
import is still sub-par in the current Godot releases.
After some experimentation, we're instead adding a new importer that
relies on Facebook's `fbx2gltf` command line tool to convert FBX to
glTF, so that we can then use our well-maintained glTF importer.
See #59653 and https://github.com/facebookincubator/FBX2glTF for details.
2022-03-30 13:04:31 +02:00
Pierre-Thomas Meisels
63f7f44ccb
Make vararg method bind no return and return
...
Type emit_signal exposed method return type
set UndoRedo add_do_method and add_undo_method exposed return void
Set TreeItem::_call_recursive_bind returns void
Set _rpc_bind and _rpc_id_bind returns void in Node
Set _call_group and _call_group_flags method returns void in SceneTree
Set godot-cpp-test CI flag to false
2022-03-30 11:43:12 +02:00
reduz
45f74ceb85
Add PortableCompressedTexture
...
* Resource that allows saving textures embedded in scenes or standalone.
* Supports only formats that are portable: Lossy, Lossles or BasisUniversal
This is something I wanted to add for a long time. I made it now because @fire
requires it for importing GLTF2 files with embedded textures, but also this
will allow saving Godot scenes as standalone binary files that will run
in all platforms (because textures will load everywhere).
This is ideal when you want to distribute individual standalone assets online
in games that can be built from Godot scenes.
2022-03-30 10:39:41 +02:00
K. S. Ernest (iFire) Lee
9484ee7a9e
Add support for importing .blend files
...
Lets you drag or place .blend files in the project folder and it will import the files.
Checks for Blender 3.0's gltf2 `export_keep_originals` option.
Add basepath support to GLTFDocument append_from_file.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-03-29 21:54:41 +02:00
Rémi Verschelde
482cdeaf71
Merge pull request #58608 from KoBeWi/metadefault
2022-03-29 16:14:28 +02:00
kobewi
e04ae8c8bc
Add get_total_elapsed_time() to Tween
2022-03-29 13:34:05 +02:00
Rémi Verschelde
c5efda5f4e
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 37f6fff7ae
)
2022-03-29 01:23:07 +02:00
Rémi Verschelde
abbb0dc082
Merge pull request #59548 from akien-mga/obj-remove-unused-categories
2022-03-28 14:17:24 +02:00
Rémi Verschelde
41d075de58
Merge pull request #59456 from Calinou/color-expose-to-linear-srgb
2022-03-28 13:36:19 +02:00
Rémi Verschelde
143d13717b
Merge pull request #59553 from reduz/script-extension-support
2022-03-28 13:35:21 +02:00
Hugo Locurcio
1c343cd54d
Expose Color's `to_linear()` and `to_srgb()` to scripting
2022-03-28 12:17:55 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
...
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Hugo Locurcio
fbec10179a
Improve documentation for `Camera3D.project_ray_{normal,origin}`
...
This mentions that internally, the inverse camera projection is used
to perform projections.
2022-03-27 20:31:18 +02:00
Fabio Alessandrelli
4a95408dd4
[Net] Change HTTPRequest timeout type to double.
...
For consistency with the Timer class and general time representation
inside the engine.
2022-03-27 18:15:56 +02:00
Karmavil
aef97305db
Add descriptions to operators
2022-03-27 12:13:56 -03:00
Fabio Alessandrelli
331f1662df
[Net] Drop is_connected_to_host for TCP and UDP.
...
The UDP method is now called `is_socket_connected` to limit confusion
with the actual host connection status which doesn't make sense in UDP.
The TCP method is completly dropped, use get_status instead.
The only one left is the WebSocketPeer one, which should be fine as is
for now.
2022-03-27 16:36:44 +02:00
Fabio Alessandrelli
0e52867668
[Net] Make StreamPeerTCP::_poll_connection explicit.
...
No longer hacked into `get_status` and renamed to `poll`.
The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
2022-03-27 16:36:44 +02:00
reduz
360dea5348
Add GDExtension support to Script
...
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core
This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
Rémi Verschelde
5371009d8e
Object: Remove unused category boilerplate
...
We might want to re-add something like this if/when we find a good use case
for it and do the effort to categorize all objects in the API properly.
Until then, it's better to remove that boilerplate since it's not needed.
Closes #18711 .
2022-03-26 15:46:01 +01:00
Rémi Verschelde
e7fd0ec31f
doc: Fix String.rsplit code example
...
Fixes #36898 .
Supersedes and closes #36951 .
2022-03-26 15:05:05 +01:00
FireForge
bb7e6e9951
Rename "ss_reflections_" to "ssr_" in Environment
2022-03-25 14:37:01 -05:00
Hugo Locurcio
7d8b344f01
Increase the maximum number of concurrent DNS queries from 32 to 256
...
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:
Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-03-23 18:18:23 +01:00
Hugo Locurcio
25434531cd
Document the Environment class
2022-03-23 16:46:53 +01:00
Haoyu Qiu
405bc96a1e
Document how to specify explicit value for `PROPERTY_HINT_ENUM` names
2022-03-23 17:05:49 +08:00
Rémi Verschelde
9162f27836
Merge pull request #59314 from reduz/add-static-methods-to-classdb
2022-03-22 19:22:46 +01:00
Hugo Locurcio
1a5cfcd335
Improve documentation related to detail mapping in BaseMaterial3D
2022-03-22 19:09:03 +01:00
reduz
2f651277da
Add static method support to ClassDB
...
* Based on the work done for Variant in the past.
* Added `ClassDB::bind_static_method`
* Cleaned up ClassDB::bind_method to use variadic templates.
This adds support for having static methods in Object derived classes.
Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22 16:27:34 +01:00
kobewi
3eb7fc4bfd
Add optional 'default' argument to get_meta()
2022-03-22 15:50:47 +01:00
Rémi Verschelde
4c55a6529a
Merge pull request #59354 from Chaosus/astar3d
2022-03-22 13:15:21 +01:00
Rémi Verschelde
7538ad81ac
Merge pull request #59410 from bruvzg/mac_menu_features
2022-03-22 12:58:29 +01:00
Rémi Verschelde
2a116f601b
Merge pull request #59275 from bruvzg/ft_brotli
2022-03-22 12:47:00 +01:00
Hugo Locurcio
003e1e6217
Improve documentation for tonemapping operators
2022-03-22 12:14:51 +01:00
bruvzg
595995a5a7
[macOS] Add missing global menu features.
2022-03-22 12:38:14 +02:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
zacryol
21fc3cbe81
update _init() description
...
Specify details regarding required parameters.
2022-03-21 09:13:32 -06:00
Rémi Verschelde
16e96e52d3
Merge pull request #59352 from winterpixelgames/notify-local-transform-constant
2022-03-21 12:26:26 +01:00
Haoyu Qiu
6bf01e0567
Mention default output node name for AnimationNodeBlendTree
2022-03-21 18:02:40 +08:00
Max Hilbrunner
aa8ff21b2a
Merge pull request #59142 from Calinou/doc-multiplayerpeerextension
...
Document the MultiplayerPeerExtension class
2022-03-21 00:54:10 +01:00
Jason Knight
640099cce5
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:01 -06:00
Yuri Roubinsky
7913e04950
Rename `AStar` to `AStar3D`
2022-03-20 17:34:40 +03:00
BARTEK-PC\Bartek
4972f1b864
Expose navigable layers for NavigationAgent2D/3D
2022-03-20 15:04:56 +01:00
Rémi Verschelde
cb51df3286
Merge pull request #59343 from madmiraal/fix-57943
...
Ensure minimum modifiers are pressed when matching actions
2022-03-20 11:26:05 +01:00
Marcel Admiraal
ea20049afc
Ensure minimum modifiers are pressed when matching actions
2022-03-20 08:02:54 +00:00
kobewi
342dac77d4
Hide text and icon properties in OptionButton
2022-03-19 13:36:10 +01:00
Rémi Verschelde
288cdca71d
Merge pull request #59290 from rburing/get_process_info_docs
...
PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs
2022-03-19 08:30:44 +01:00
Ricardo Buring
a1d4f8d389
PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs
2022-03-18 19:53:14 +01:00
Rémi Verschelde
9c231c2c1a
Merge pull request #59254 from Calinou/doc-node-owner
...
Mention that Node's `owner` must be set for persistence to work
2022-03-18 19:24:07 +01:00
Hugo Locurcio
be1acf3b92
Mention that Node's `owner` must be set for persistence to work
...
This is already done in `Node.add_child()` documentation, but
this copies the note in `Node.owner` for good measure.
2022-03-18 18:12:44 +01:00
Rémi Verschelde
19950076b1
Merge pull request #58394 from bruvzg/rtl_hint
2022-03-18 14:49:13 +01:00
Rémi Verschelde
5c8bd6fd71
Merge pull request #58233 from bruvzg/gde_ts
2022-03-18 14:29:58 +01:00
bruvzg
e07a8f0aa6
Add brotli decoder and WOFF2 support.
2022-03-18 15:09:38 +02:00
Rémi Verschelde
acc9b5b390
Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
...
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
Rémi Verschelde
5d23613836
Merge pull request #49738 from Calinou/ssao-gi-default-half-resolution
...
Compute SSAO at half resolution by default
2022-03-18 07:14:23 +01:00
Rémi Verschelde
756178d342
Merge pull request #59087 from clayjohn/sky-mode
...
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-18 00:09:35 +01:00
Michael Alexsander
deb1342036
Make `TabBar/Container` default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Hugo Locurcio
c45d2c242b
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
...
3 options are available:
- Light and Sky (default)
- Light Only (new)
- Sky Only (equivalent to `use_in_sky_only = true`)
Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17 14:00:02 -07:00
Rémi Verschelde
c6c6d58c71
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 009b286e31
)
2022-03-17 19:53:31 +01:00
Rémi Verschelde
8ed8a7a22b
doc: Sync missing Color value update after #59229
...
Missed in CI as the Mono build where this is checked is temporarily disabled.
2022-03-17 19:53:10 +01:00
Rémi Verschelde
bc576af969
Merge pull request #57675 from TokageItLab/fix-blending
2022-03-17 10:49:34 +01:00
bruvzg
f19cd44346
Unify TextServer built-in module and GDExtension code.
2022-03-17 08:15:29 +02:00
Haoyu Qiu
a635ecf6d4
Add item tooltip access to OptionButton
2022-03-17 13:50:16 +08:00
qhdtlr
2832b55b23
Document the MultiplayerPeerExtension class
2022-03-16 23:36:41 +01:00
Rémi Verschelde
c9d764e14a
Merge pull request #59140 from reduz/physics-server-extension
2022-03-16 17:11:40 +01:00
bruvzg
98d0af7d5c
Implement GDExtension export plugin.
2022-03-16 11:16:19 +02:00
Silc 'Tokage' Renew
b06d253920
Fix blend animation to solve TRS track bug & blend order inconsistency
2022-03-16 05:11:55 +09:00
reduz
8b547331be
Create GDExtension clases for PhysicsServer3D
...
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support)
* Some changes on native struct binding for PhysicsServer
This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15 18:39:31 +01:00
Rémi Verschelde
e255a10682
Merge pull request #59143 from Calinou/doc-range-value-changed
2022-03-15 08:40:29 +01:00
Hugo Locurcio
cdbb31adc9
Document Range's `value_changed` signal is also emitted with code changes
...
This also mentions that the signal is potentially emitted every frame,
which can have performance implications.
2022-03-14 21:32:23 +01:00
Yuri Roubinsky
32f2c47356
Remove generating of null comparison operators from documentation
2022-03-14 22:35:23 +03:00
Rémi Verschelde
95b6c6cf9a
Merge pull request #58693 from Calinou/doc-physics-shapes
2022-03-14 15:08:58 +01:00
Max Hilbrunner
43120c2e2d
Merge pull request #59086 from Calinou/doc-nodepath-stringname
...
Improve documentation for NodePath and StringName
2022-03-14 14:14:58 +01:00
Rémi Verschelde
b7bc8dbebe
Merge pull request #57392 from madmiraal/implement-3888
2022-03-14 08:31:58 +01:00
kobewi
3c53752b4a
Cleanup embed subwindows getters
2022-03-13 18:20:53 +01:00
Rémi Verschelde
47c35f5b96
Merge pull request #59108 from KoBeWi/somewhere_on_the_screen
2022-03-13 18:10:33 +01:00
Rémi Verschelde
972bca75a8
Merge pull request #59107 from otonashixav/expose-add-animation-slice
2022-03-13 17:18:42 +01:00
kobewi
bcf13dc175
Expose methods for screen-space transforms
2022-03-13 16:05:08 +01:00
Xavier Loh
a0e720efb2
Expose `RenderingServer::canvas_item_add_animation_slice` in GDScript
2022-03-13 22:53:24 +08:00
Hugo Locurcio
51896c4682
Improve documentation for NodePath and StringName
...
- Update the NodePath shorthand prefix for `master`.
- Document the StringName construction shorthand (`&"example"`).
- Cross-link between NodePath and StringName, as these are related
concepts.
2022-03-13 01:04:51 +01:00
Rémi Verschelde
6721290831
Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
...
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
Rémi Verschelde
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
kobewi
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
Hugo Locurcio
35c8d332b5
Clarify the position of points in `Curve{2D,3D}.add_point()`
2022-03-11 18:22:55 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00
Rémi Verschelde
952b71a425
Merge pull request #58751 from bruvzg/loc_str_props
2022-03-11 10:45:02 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
...
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
TechnoPorg
f4bc9f5821
Remove more occurrences of "stex"
2022-03-10 18:31:48 -07:00
Rémi Verschelde
26fd6fe2b2
Merge pull request #58485 from aaronfranke/time-offset
2022-03-10 21:13:29 +01:00
Rémi Verschelde
1c51fd48db
Merge pull request #58781 from BastiaanOlij/openxr_signals_and_events
...
Adding signals and events to OpenXR interface
2022-03-10 18:10:26 +01:00
reduz
6f51eca1e3
Discern between virtual and abstract class bindings
...
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Bastiaan Olij
d11cb5fe98
Adding signals and events to OpenXR interface
...
Improving interaction profile logic
2022-03-10 17:14:56 +11:00
Rémi Verschelde
3d7f155586
Remove unused Bullet module and thirdparty code
...
It has been disabled in `master` since one year (#45852 ) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
2022-03-09 21:45:47 +01:00
Rémi Verschelde
9b05f29894
Remove unused GDNative code
...
This has been superseded by GDExtension so this code is no longer useful
nor usable.
There's still some GDNative-related stuff in platform export code which
needs to be adapted for GDExtension (e.g. to include GDExtension libraries
in exports).
2022-03-09 13:59:03 +01:00
Rémi Verschelde
da4fc8d0ea
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 6c56433997
)
2022-03-09 10:44:30 +01:00
Michael Alexsander
182e038af5
Replace `TabBar`'s `min_width` with `max_tab_width` and expose it
2022-03-09 01:48:18 -03:00
Rémi Verschelde
f73ef03a86
Merge pull request #58877 from akien-mga/core-unexpose-range_step_decimals
2022-03-08 22:45:29 +01:00
Marcel Admiraal
507f72db8e
Rename Control's Rect properties to exclude rect_ part
2022-03-08 16:30:35 +00:00
Rémi Verschelde
6046d3babb
Merge pull request #57769 from Chaosus/vs_custom
2022-03-08 15:34:08 +01:00
Rémi Verschelde
45fa14e1ae
Merge pull request #58850 from YeldhamDev/more_tab_regressions
2022-03-08 14:28:39 +01:00
Yuri Roubinsky
4d6790e9df
Add `_get_func_code/_is_available` virtual functions to custom nodes
2022-03-08 16:23:44 +03:00
Rémi Verschelde
1561737055
Merge pull request #49447 from Calinou/remove-shadow-color-property
...
Remove unused `shadow_color` property from Light3D
2022-03-08 07:48:05 +01:00
Rémi Verschelde
4e3d5a9a2c
VariantUtility: Unexpose `Math::range_step_decimals`
...
This method was meant only as a convenience for editor code
to allow using a step of 0 to disable snapping.
It was exposed by mistake when refactoring GlobalScope.
2022-03-07 22:13:49 +01:00
Rémi Verschelde
6c3170e875
Merge pull request #57930 from piiertho/bugfix/add-none-flag-to-resource-saver
2022-03-07 12:05:35 +01:00
Pierre-Thomas Meisels
f9d4f08090
Fix ResourceSaver::save method exposition flag parameter
...
enh: Add FLAG_NONE to SaverFlags in ResourceSaver to fix api inconsistency
fix: flags parameter of ResourceSaver::save is now uint32_t to allow flag composition in scripts
2022-03-07 10:39:51 +01:00
Rémi Verschelde
a51f724b8b
Merge pull request #57812 from piiertho/bugfix/add-none-enum-global-constants
2022-03-07 10:23:25 +01:00
Pierre-Thomas Meisels
a41fb2fa3c
bugfix: bind core enums' none values
2022-03-07 09:16:25 +01:00
Rémi Verschelde
eb8ce0ce68
Merge pull request #58750 from Chaosus/vs_varyings
...
Add varying support to visual shaders
2022-03-07 07:41:11 +01:00
Michael Alexsander
c0381594c3
Fix regressions with nameless and icon-only tabs
2022-03-06 22:17:35 -03:00
Rémi Verschelde
d37e8586be
Merge pull request #58788 from reduz/rename-streamtexture
...
Rename StreamTexture* to CompressedTexture*
2022-03-06 00:19:55 +01:00
Rémi Verschelde
9b4d4bbaea
Merge pull request #58803 from KoBeWi/a_bit_of_everything
...
Various code and documentation improvements
2022-03-06 00:17:39 +01:00
kobewi
bc3aff9b46
Various code and documentation improvements
2022-03-05 22:00:35 +01:00
kobewi
b3864db7e0
Change tabs_rearrange_group to property
2022-03-05 21:03:01 +01:00
reduz
ccd4cdfd8b
Rename StreamTexture* to CompressedTexture*
...
* Its not and will not be used for streaming.
* Streaming will be implemented in 4.1 and it will work different.
* It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-05 16:43:38 +01:00
Rémi Verschelde
cdd63fa872
Merge pull request #53839 from EricEzaM/editor-settings-changed-settings
...
Added ability to get list of editor settings changed when saving editor settings. Optimised settings changed notification.
2022-03-05 12:54:38 +01:00
Eric M
a0ef294ba5
Added ability to retrieve array of changed settings changed when it is saved.
2022-03-05 19:26:40 +10:00
Hugo Locurcio
aea104deb7
Remove unused `shadow_color` property from Light3D
...
This shadow color property was no longer effective since the shaders
were optimized to improve occupancy.
2022-03-04 23:12:18 +01:00
Yuri Roubinsky
15a87f8e92
Add varying support to visual shaders
2022-03-04 23:30:47 +03:00
Rémi Verschelde
9c6b6ffe13
Merge pull request #58717 from CrezyDud/master
2022-03-04 18:04:19 +01:00
bruvzg
12cb6386f6
Improve app name and system permission message localization.
...
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint.
Add localized "app name" property to the project settings.
Add localized permission and copyright properties to the macOS and iOS export settings.
Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-03-04 18:11:31 +02:00
Rémi Verschelde
3078b92dff
Merge pull request #58512 from Calinou/light3d-add-distance-fade
2022-03-04 12:26:29 +01:00
Rémi Verschelde
0ff45dd3a7
Merge pull request #58673 from Calinou/smooth-trimesh-collision-always-setting
2022-03-04 12:25:36 +01:00
Rémi Verschelde
9d5d20ae6d
Merge pull request #58687 from YeldhamDev/the_beast_has_been_slain
2022-03-04 12:18:55 +01:00
Michael Alexsander
a811ebf699
Make `TabContainer` use `TabBar` internally
2022-03-03 21:49:58 -03:00
MrSwedish
97c5fd17a7
Add linear_velocity and angular_velocity to PhysicalBone3D
2022-03-03 20:34:29 +01:00
Rémi Verschelde
b70688401a
Merge pull request #57478 from FelixNemis/physics-signal-doc-fix
...
Fix snippet for getting collisionshape node in body/area signal docs
2022-03-03 16:08:13 +01:00
Max Hilbrunner
cfd4433bbc
Merge pull request #58643 from KoBeWi/ 👀
...
Update some docs regarding SubViewports
2022-03-03 13:17:34 +01:00
Max Hilbrunner
4eb34123ad
Merge pull request #57466 from Sauermann/fix-rect2i-intersect-doc
...
Fix Rect2i.intersects doc: Remove nonexistent parameter from documentation
2022-03-03 13:14:05 +01:00
Max Hilbrunner
f3bb33978e
Merge pull request #58162 from KoBeWi/RY
...
Update description of LINE_TEXTURE constants
2022-03-03 13:08:23 +01:00
Hugo Locurcio
a30e5805af
Improve documentation related to physics collision shapes
...
- Document using convex decomposition in the editor.
- Mention that "trimesh" is synonymous with a concave collision shape.
- Add performance hints for each collision shape.
2022-03-02 20:28:43 +01:00
Hugo Locurcio
4219485a82
Always register the Smooth Trimesh Collision project setting
...
This ensures the project setting never disappears from the editor,
even if the current physics engine is GodotPhysics.
This also adds documentation for the Smooth Trimesh Collision
project setting.
2022-03-02 18:49:34 +01:00
Igor Kordiukiewicz
8f49150b10
Changed TileMap::set_cell alternative_tile default value to 0
2022-03-02 12:13:45 +01:00
Rémi Verschelde
feee9d0aa5
Merge pull request #58629 from groud/fix_native_extion_init_order
2022-03-01 01:33:48 +01:00
Rémi Verschelde
c8e62555f6
Merge pull request #58477 from AlbertFay/text-under-scrollbar
2022-03-01 01:32:36 +01:00
kobewi
c49cd80ab8
Update some docs regarding SubViewports
2022-03-01 01:11:23 +01:00
Gilles Roudière
ce512b35c1
Reorder native extension types initialization, initializing editor last
2022-02-28 16:03:26 +01:00
Rémi Verschelde
e7176e6c85
Merge pull request #58614 from Calinou/ssr-roughness-quality-enum-fix-typo
...
Fix typo in SSR roughness quality enum value names
2022-02-28 10:51:20 +01:00
Rémi Verschelde
6716af9f83
Merge pull request #58597 from IgorKordiukiewicz/remove-files-dropped-signal-from-scene-tree
...
Remove files_dropped signal from SceneTree
2022-02-28 10:17:54 +01:00
Igor Kordiukiewicz
b870b40d79
Remove files_dropped signal from SceneTree
2022-02-28 07:51:50 +01:00
Hugo Locurcio
83efe4d8b0
Fix typo in SSR roughness quality enum value names
2022-02-28 01:06:26 +01:00
Hugo Locurcio
29e85298f5
Document how to fix thin FogVolumes flickering when the camera moves
2022-02-27 20:02:21 +01:00
Hugo Locurcio
1d9bc35496
Add a Skew property to StyleBoxFlat
...
This makes it possible to create more aesthetically pleasing
styleboxes for GUI theming, especially in games that have
a futuristic appearance (where skewed buttons and progress bars
are common).
2022-02-26 02:39:36 +01:00
albertfay1121
dba0d52349
Fixed bug with text going under scrollbar
...
added classes reference update
2022-02-25 13:45:38 -08:00
Hugo Locurcio
b1a295b739
Implement distance fade properties in OmniLight3D and SpotLight3D
...
This can be used to fade lights and their shadows in the distance,
similar to Decal nodes. This can bring significant performance
improvements, especially for lights with shadows enabled and when
using higher-than-default shadow quality settings.
While lights can be smoothly faded out over distance, shadows are
currently "all or nothing" since per-light shadow color is no longer
customizable in the Vulkan renderer. This may result in noticeable
pop-in when leaving the shadow cutoff distance, but depending on the
scene, it may not always be that noticeable.
2022-02-25 15:17:35 +01:00
bruvzg
74ff5921d6
Improve popup window handling.
...
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
Aaron Franke
55aabb8b06
Add offset string from minutes conversion method to Time singleton
2022-02-23 22:12:02 -06:00
Rémi Verschelde
b28a83ef3d
Merge pull request #58448 from novaplusplus/wow-more-string-docs
2022-02-23 17:54:30 +01:00
Nova
f159e7e5ab
Added or improved documentation to a few more String methods
2022-02-23 10:50:33 -05:00
Rémi Verschelde
1f3916e0b6
Merge pull request #56394 from BastiaanOlij/OpenXR_Core4
2022-02-23 13:36:07 +01:00
Rémi Verschelde
96261838c5
Merge pull request #57956 from Eoin-ONeill-Yokai/audio_stream_hotfix
2022-02-23 13:04:47 +01:00
Bastiaan Olij
a78a9fee71
Implementing OpenXR driver
2022-02-23 12:02:24 +01:00
Rémi Verschelde
fcf8c2006d
Merge pull request #58411 from cbscribe/rename_motion_velocity
2022-02-23 09:48:58 +01:00
Chris Bradfield
849d34ba8e
Rename motion_velocity to velocity
2022-02-22 23:31:33 -08:00
clayjohn
fe49244611
Use Filament specular models and parametrization
2022-02-22 19:39:41 -08:00
Eoin O'Neill
ded9dc1e82
Add missing binding to AudioStream class
...
This allows for the extension of AudioStream where you can call
`instance_plackback` on child AudioStream instances within gdscript,
much like the implementation of some child classes in C++.
See `AudioStreamRandomPitch` for an example of how this can be used.
2022-02-22 18:11:40 -08:00
Rémi Verschelde
002ab10608
Merge pull request #57664 from skyace65/TriangulateInfo
...
Add more information on triangulate polygon
2022-02-22 22:06:16 +01:00
Rémi Verschelde
e17c29ab80
Merge pull request #58440 from novaplusplus/novas-doc-stuff
...
Fix incorrect surfacetool example in class docs
2022-02-22 20:06:58 +01:00
Nova
b2b2e0606f
Document String's humanize_size static method
2022-02-22 13:12:29 -05:00
Nova
b5f7910ca0
Fix incorrect SurfaceTool example in class docs
2022-02-22 12:46:01 -05:00
bruvzg
7385c3602d
Add RichTextLabel "hint" tag.
2022-02-21 19:34:16 +02:00
Markus Sauermann
70ae6c21de
Update doc for match: empty argument doesn't match anything
2022-02-21 09:37:29 +01:00
Rémi Verschelde
417698c202
Merge pull request #58042 from Sauermann/fix-viewport-border-notifications
...
Fix Viewport mouse enter+exit notifications
2022-02-19 09:07:07 +01:00
Hugo Locurcio
9b5395dee0
Document that meshes and lights must be fully set up before baking VoxelGI
2022-02-18 21:40:51 +01:00
Rémi Verschelde
887d4bd0d9
Merge pull request #58261 from STUDIOEMBYR/CharacterBody-docs-update
2022-02-18 12:09:27 +01:00
Rémi Verschelde
7a68ee5134
Merge pull request #58266 from clayjohn/revert-sky-change
2022-02-18 12:07:40 +01:00
Pierre-Thomas Meisels
fd02f529fa
Fix default value for DisplayServer::virtual_keyboard_show Rect2 parameter
2022-02-18 09:43:02 +01:00
Rémi Verschelde
48b61159b2
Merge pull request #58106 from Calinou/audioserver-capture-device-property
2022-02-18 09:07:36 +01:00
clayjohn
63cb91e05c
Revert "Default to real-time radiance map filter for environment sky reflections"
...
This reverts commit 09563e4bd8
.
2022-02-17 23:13:32 -08:00
Hannah Crawford
d9599fb5fc
Updated out of date CharacterBody documentation.
2022-02-17 23:42:39 +00:00
Hugo Locurcio
1d35b37499
Expose `AudioServer.capture_device` as a property
...
This is more consistent with `AudioServer.device` (for output),
which is already exposed as a property.
2022-02-17 19:35:46 +01:00
Rémi Verschelde
e1b8a86b2b
Merge pull request #58177 from clayjohn/VULKAN-prefiltered-radiance
2022-02-17 17:53:42 +01:00
Rémi Verschelde
b6f3af4698
Merge pull request #58243 from timothyqiu/doc-ani-node
2022-02-17 17:17:27 +01:00
Haoyu Qiu
bc37b0508b
Fix wording in AnimationNode classref
2022-02-17 23:18:07 +08:00
Yuri Sizov
3ac4b42059
Fix a typo in PROPERTY_HINT_ENUM_SUGGESTION description
2022-02-17 15:31:16 +03:00
diddykonga
78dc608aa8
Change 'find_node' to 'find_nodes' and Add 'type' parameter
...
Changed 'find_node' to 'find_nodes' which now returns an 'TypedArray<Node>', as well as Added a 'type' parameter to match against specific node types, which supports inheritance.
2022-02-17 01:44:13 -06:00
Rémi Verschelde
d4766b2f6c
Merge pull request #58212 from Calinou/line2d-round-precision-add-property-hint
...
Add a property hint for the Line2D Round Precision property
2022-02-17 07:32:03 +01:00
clayjohn
48728a79b6
Use prefiltered radiance
2022-02-16 21:37:18 -08:00
Haoyu Qiu
dbd2c61dec
Fix mismatched BBCode tags in classref
2022-02-17 10:19:56 +08:00
Hugo Locurcio
6b52aa67b8
Add a property hint for the Line2D Round Precision property
...
This prevents choosing extremely high values which cause performance
issues for no visual benefit.
2022-02-17 00:21:00 +01:00
Haoyu Qiu
bb766a8fb6
Fix documentation about TreeItem button ID
2022-02-17 01:00:16 +08:00
Rémi Verschelde
eeda603355
Merge pull request #58055 from markdibarry/add_get_line_offset
2022-02-16 14:07:23 +01:00
Rémi Verschelde
6c40d1ab9b
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 9cb169504a
)
2022-02-16 10:09:29 +01:00
Rémi Verschelde
f6f1593db4
Merge pull request #44716 from Calinou/os-add-get-processor-name
2022-02-16 09:34:53 +01:00
kobewi
8129dd45d9
Update description of LINE_TEXTURE constants
2022-02-16 00:52:09 +01:00
Markus Sauermann
415042ac89
Connect notifications from Container to Viewport
...
mouse enter+exit
2022-02-15 22:41:30 +01:00
Hugo Locurcio
ee7cd9a3a1
Add an `OS.get_processor_name()` method
...
This method can be used to get the CPU model name.
It can be used in conjunction with
`RenderingServer.get_video_adapter_name()` and
`RenderingServer.get_video_adapter_vendor()` for annotating benchmarks
and automatic graphics quality configuration.
2022-02-15 20:55:53 +01:00
Rémi Verschelde
6d57587396
Merge pull request #57931 from Calinou/sky-default-filter-realtime
2022-02-15 20:29:57 +01:00
Rémi Verschelde
3b2e062788
Merge pull request #58144 from Josephblt/Godot-4-CanvasLayer-missing-show-hide
2022-02-15 17:43:05 +01:00
Wagner Scholl Lemos
160ee4ef8e
Added show and hide methods and updated doc API.
2022-02-15 11:37:41 -03:00
Rémi Verschelde
760a95e86a
Merge pull request #57877 from bruvzg/subpixel_gl_pos
2022-02-15 13:58:38 +01:00
Rémi Verschelde
78a767edb3
Merge pull request #35679 from Calinou/doc-add-xml-schema
2022-02-15 13:14:58 +01:00
Rémi Verschelde
efb179c307
Merge pull request #58104 from Calinou/doc-audio-device
2022-02-15 12:24:37 +01:00
Rémi Verschelde
b3507ab0cd
Merge pull request #58100 from Calinou/environment-clamp-sky-contribution
...
Clamp environment light sky contribution to the [0.0; 1.0] range
2022-02-15 07:42:30 +01:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
Hugo Locurcio
44af98cd12
Compute SSAO at half resolution by default
...
This provides a significant speedup for a small quality loss.
The quality loss is generally more noticeable during a project's
early stages of development (e.g. in level blockouts)
than it is in a finished project.
2022-02-14 18:53:09 +01:00
Hugo Locurcio
743b5608e3
Improve documentation for AudioServer device properties and methods
2022-02-14 18:09:57 +01:00
Hugo Locurcio
c10e97b604
Clamp environment light sky contribution to the [0.0; 1.0] range
...
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.
2022-02-14 17:15:32 +01:00
Hugo Locurcio
15244e55bd
Improve completion scroll bar visibility in the script editor
...
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 16:49:08 +01:00
Rémi Verschelde
cd6301ae25
Merge pull request #58008 from Geometror/increase-checkerboard-contrast
2022-02-14 15:22:50 +01:00