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
Rémi Verschelde
89996be091
Merge pull request #57988 from markdibarry/add_get_last_visible_character_line
2022-02-14 15:22:03 +01:00
Fabio Alessandrelli
f72bd67068
[ResourceUID] Use CryptoCore::RandomGenerator for IDs.
2022-02-14 10:45:50 +01:00
markdibarry
c0caafe960
Add offset methods for lines and paragraphs in RichTextLabel
...
Adds `get_line_offset` and `get_paragraph_offset` methods to `RichTextLabel`
Fix arg mismatch
2022-02-13 13:15:21 -05:00
markdibarry
ae7eec53c0
Add get_character_line method for RichTextLabel
...
Adds the ability to get the line number of provided character position
Fix arg name
Add get_character_paragraph
Replaced glyph logic with code suggestions, added get_character_paragraph method
Run doctool
Use built-in method
Replace TS access with built in method
2022-02-13 11:12:12 -05:00
Rémi Verschelde
48ed0400bc
Merge pull request #58028 from Calinou/doc-array-hash
...
Clarify identical `hash()` return values due to collisions
2022-02-13 10:38:33 +01:00
Rémi Verschelde
7224389468
Merge pull request #57954 from TokageItLab/refactor-cubic-interpolate
...
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-13 10:34:13 +01:00
Hugo Locurcio
08541fe11d
Clarify identical `hash()` return values due to collisions
2022-02-12 22:21:37 +01:00
bruvzg
29199579f7
Add sub-pixel glyph positioning support.
2022-02-12 19:55:52 +02:00
Hugo Locurcio
56b604bef7
Add sky cover texture for ProceduralSkyMaterial
...
This brings PhysicalSkyMaterial's Night Sky functionality to
ProceduralSkyMaterial, but in a more powerful and general fashion.
This can be used to display stars at night, or clouds at day and night.
For clouds, it won't be physically accurate, but it can look good still.
The Sky Cover Modulate property can be used to adjust the sky cover's
colors and opacity in real-time, which is useful for day/night or weather
transitions.
2022-02-12 18:39:57 +01:00
Rémi Verschelde
d3a6b6daaa
Merge pull request #56953 from bruvzg/ex_wnd
2022-02-12 16:46:55 +01:00
Rémi Verschelde
498805282a
Merge pull request #57993 from Calinou/sky-tweak-default-values
2022-02-12 16:46:19 +01:00
Hendrik Brucker
8ebecf5095
Increase checkerboard texture contrast
2022-02-12 14:55:07 +01:00
Rémi Verschelde
ed9a7a6e3e
Merge pull request #57986 from Calinou/doc-geometryinstance3d-transparency
2022-02-12 10:23:04 +01:00
Silc 'Tokage' Renew
865da09871
Implement cubic_interpolate() as MathFunc for refactoring
2022-02-12 18:11:17 +09:00
Hugo Locurcio
b7b18a4940
Tweak default ProceduralSkyMaterial and PhysicalSkyMaterial appearance
...
- Tweak colors to be less saturated and more balanced (in terms of hue).
The cool blue sky is balanced by a warm brown ground,
which makes reflections look closer to how they'd look like when using
an HDRI panorama texture.
- Make the ground color dark on both ProceduralSkyMaterial and
PhysicalSkyMaterial to reduce indoor light leaking, especially
when using GI.
- Tweak the PhysicalSkyMaterial colors to be as close as possible
to ProceduralSkyMaterial (with the default sun orientation).
- Tweak editor environment defaults to be identical to the default
ProceduralSkyMaterial colors. Previously, the default editor sky
color was different from the colors of a newly created
ProceduralSkyMaterial resource.
Both new skies were tested without GI, with SDFGI and with VoxelGI.
They were tuned to look best when using ACES tonemapping with a
whitepoint set to 6, but they still look good with other
tonemapping operators.
2022-02-12 02:22:40 +01:00
Hugo Locurcio
c6ef8fb6d4
Improve documentation for `GeometryInstance3D.transparency`
2022-02-12 00:42:45 +01:00
bruvzg
7d59b81d79
Add exclusive window handling to DisplayServer (on macOS and Windows).
2022-02-12 00:14:09 +02:00
Rémi Verschelde
006ce4d83d
Merge pull request #57938 from jordigcs/negative-refresh-rate-fallback
2022-02-11 23:02:58 +01:00
jordi
7a9972afc2
Change SCREEN_GET_REFRESH_RATE_FALLBACK to -1.0
2022-02-11 10:25:38 -06:00
Yuri Sizov
175088db25
Add an explicit way to remove a theme type
2022-02-11 17:57:52 +03:00
Hugo Locurcio
ab1eaac315
Improve the `AudioStreamPlayer2D/3D.area_mask` documentation
...
The documentation was stating that the area mask affects where sounds
can be heard, which is not true. Instead, the area mask affects audio
bus redirection.
Thanks to Azedaxen on the Godot forums for providing this description :)
2022-02-10 23:26:29 +01:00
Rémi Verschelde
80332049ee
Merge pull request #57932 from pycbouh/docs-extract-links
2022-02-10 22:26:15 +01:00
Rémi Verschelde
69ddf2fd05
Merge pull request #55157 from pycbouh/control-inspector-reorg
2022-02-10 22:13:28 +01:00
JFonS
b2da1a5c20
Merge pull request #57889 from Calinou/doc-occlusion-culling
...
Document occlusion culling classes and settings
2022-02-10 20:35:38 +01:00
Yuri Sizov
2b35ecaee4
Extract link titles for translation if available
2022-02-10 22:16:27 +03:00
Hugo Locurcio
09563e4bd8
Default to real-time radiance map filter for environment sky reflections
...
This makes radiance map updates much faster, which improves performance
when rotating the sun in the editor or at run-time.
This real-time filter is also much less prone to "fireflies" that can
appear when using a sky with a bright sun.
2022-02-10 20:12:33 +01:00
Yuri Sizov
107b6f299c
Reorganize inspector layout workflow for Control nodes
2022-02-10 20:29:34 +03:00
Rémi Verschelde
38c851a3fa
Merge pull request #57916 from akien-mga/doc-translations-exclude-DOCS_URL-links
2022-02-10 18:26:23 +01:00
Hugo Locurcio
dee43ea650
Document occlusion culling classes and settings
2022-02-10 18:24:32 +01:00
Rémi Verschelde
d6abf8f158
Merge pull request #57873 from markdibarry/add_get_content_width_RichTextLabel
2022-02-10 18:24:13 +01:00
Rémi Verschelde
d2fa379f2b
Merge pull request #54158 from Calinou/decrease-default-soft-shadow-quality
2022-02-10 17:38:24 +01:00
Rémi Verschelde
7332aff3fd
Merge pull request #54677 from Calinou/voxelgi-default-low-quality
2022-02-10 17:35:52 +01:00
Rémi Verschelde
c6199da8b8
Merge pull request #39965 from Calinou/tweak-sdfgi-defaults
2022-02-10 17:31:54 +01:00
Rémi Verschelde
2fafcfebdf
Merge pull request #57707 from Calinou/sdfgi-tweak-default-num-cascades
2022-02-10 17:27:42 +01:00
markdibarry
29c21ac590
Add get_content_width method
...
Adds a get_content_width method to RichTextLabel
2022-02-10 10:56:11 -05:00
Rémi Verschelde
40691b2ebe
i18n: Exclude `$DOCS_URL` links from classref translations
2022-02-10 15:38:21 +01:00
Rémi Verschelde
1bdb82c64e
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
2022-02-10 12:30:19 +01:00
Rémi Verschelde
d22ac13bc2
Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_servers
...
[Debugger] Move most profilers to ServersDebugger, fix core includes.
2022-02-09 21:57:32 +01:00
Markus Sauermann
ba565bec1b
Update Popup and PopupMenu descriptions
2022-02-09 18:59:41 +01:00
Rémi Verschelde
77c2bfb636
Merge pull request #57838 from TechnicalSoup/ClassRefPatch2
2022-02-09 13:25:40 +01:00
Rémi Verschelde
f88a83f611
Merge pull request #57810 from timothyqiu/tree-button-id
2022-02-09 11:11:01 +01:00
TechnicalSoup
d5ea8547d6
Correct C# code example in Color class reference
...
Correct C# example code for html method in the Color class reference.
2022-02-09 20:26:51 +11:00
Rémi Verschelde
196801fc64
Merge pull request #57837 from YeldhamDev/that_was_pointless
2022-02-09 09:38:39 +01:00
Michael Alexsander
ef81dc1831
Remove code to update the layout direction of submenus from `PopupMenu`
2022-02-09 01:36:20 -03:00
Rémi Verschelde
f111768ba9
Merge pull request #57813 from MisoMosiSpy/disabled_icons
2022-02-09 01:20:58 +01:00
MisoMosiSpy
839b8cae1e
Updated alpha value for disabled icons in default theme.
2022-02-09 01:16:39 +01:00
Ellen Poe
41a158af56
Add AudioStreamRandomizer, replacing AudioStreamRandomPitch
...
Add additional randomization options.
2022-02-09 00:05:32 +01:00
Rémi Verschelde
25d4c14fef
Merge pull request #57627 from JFonS/occluder_improvements
2022-02-08 23:23:50 +01:00
Haoyu Qiu
374299c6fb
Improve TreeItem button API
2022-02-08 23:56:13 +08:00
Rémi Verschelde
e776580c30
Merge pull request #57801 from reduz/fix-blend-shape-mask-2
2022-02-08 15:21:31 +01:00
Rémi Verschelde
b6ddf4a629
Merge pull request #57692 from YeldhamDev/popping_options
2022-02-08 14:04:28 +01:00
reduz
db43237c78
Fix BLEND_SHAPE_MASK
...
* Should now be correct
* Supersedes 53738
2022-02-08 13:50:01 +01:00
Rémi Verschelde
e26598b4a1
Merge pull request #40140 from hinlopen/tree-scroll-center
2022-02-08 13:43:19 +01:00
bruvzg
b801742b77
[GDExtension] Add binds for missing methods, operators, and constants required for GDExtension TextServer implementation.
2022-02-08 09:49:14 +02:00
TechnicalSoup
acd562be5d
Add method descriptions to Color Class Reference
...
Add definitions and code examples for the html and html_is_valid methods
2022-02-08 16:37:11 +11:00
TechnicalSoup
8a1d924896
Add method description to Vector3i Class Reference
...
Add description for the abs method in the Vector3i class. Description added is identical to the abs method for the other vector classes
2022-02-08 07:52:11 +11:00
Michael Alexsander
59e9a8c275
Fix theming for floating window docks
2022-02-07 09:55:25 -03:00
Rémi Verschelde
6a33d8b93f
Merge pull request #57718 from Faless/js/4.x_pwa_prefer_cache_pr
2022-02-07 13:21:53 +01:00
jfons
dd970482c5
Improvements and fixes to occluders
...
Improvements:
* Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders.
* Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default.
* Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window.
Fixes:
* Fixed saving of occluder files after bake.
* Fixed a small error where occluders didn't correctly update in the rendering server.
Bonus content:
* Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders.
* Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07 13:04:51 +01:00
Rémi Verschelde
bfb75d107c
Merge pull request #57741 from Chaosus/vs_fixes
2022-02-07 12:50:44 +01:00
Rémi Verschelde
ec00283f91
ResourceImporter: Restore default append logic for new importers
...
This was changed in #56943 to allow adding new importers from plugins that
take precedence over built-in ones, but this should be opt-in, not the default
behavior.
Fixes #57730 .
2022-02-07 09:47:16 +01:00
Yuri Roubinsky
a6e280c5de
Add some more fixes to visual shader
2022-02-07 11:28:42 +03:00
Michael Alexsander
21bf23d966
Enhancements and fixes for `OptionButton` and `PopupMenu`
2022-02-06 16:03:18 -03:00
Fabio Alessandrelli
948e66c3d6
[HTML5] Implement JavaScript PWA update callbacks.
...
Allows detecting when a new version of the progressive web app service
worker is waiting (i.e. an update is pending), along a function to force
the update and reload all clients.
2022-02-06 18:53:50 +01:00
Yuri Roubinsky
db18faf660
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`
2022-02-06 20:15:28 +03:00
Fabio Alessandrelli
789e648f4d
[Debugger] New extensible EngineProfiler class.
...
Uses GDExtension, replaces old Callable system for profilers, and is
also used internally.
2022-02-06 17:33:45 +01:00
Hugo Locurcio
7721e19ccc
Tweak default SDFGI settings for better quality
...
- Enable Read Sky Light to get proper outdoors lighting out of the box.
- Set bounce feedback to 0.5 by default to get a better quality result.
- Higher values may cause infinite feedback with bright surfaces.
- Increase the number of frames to converge to improve quality
at the cost of latency. Most scenes are fairly static after all.
- Use 75% Y scale by default as most scenes are not highly vertical.
- Reorder the Y scale enum to go from the lowest Y scale to the highest.
Also rename the "Disabled" setting to "100%" for clarity.
2022-02-06 15:28:59 +01:00
Hugo Locurcio
b9cfc74f29
Decrease the default number of SDFGI cascades to 4
...
This improves rendering performance noticeably, especially when the
camera moves fast.
On a medium-sized test scene on a GTX 1080 in 2560×1440, going
from 6 to cascades saves 0.5 ms of frame time while looking visually
identical (as most of the scene fits within the 4 cascades).
2022-02-06 15:01:25 +01:00
reduz
8c7268664d
Fix integer vector mul/div operators and bindings.
...
* Vector2i and Vector3i mul/div by a float results in Vector2 and Vector3 respectively.
* Create specializations to allow proper bindings.
This fixes #44408 and supersedes #44441 and keeps the same rule of int <op> float returnig float, like with scalars.
2022-02-06 13:34:41 +01:00
Rémi Verschelde
5f42e0d0ab
Merge pull request #57646 from Faless/mp/4.x_interfaces
...
[Net] Move RPC, Node cache out of MultiplayerAPI.
2022-02-05 18:26:04 +01:00
skyace65
bcc4d26c48
Add more information on triangulate polygon
2022-02-05 10:49:25 -05:00
Rémi Verschelde
feb34dfb2e
Merge pull request #57385 from madmiraal/update-mouse-pointer-definitions
...
Update definitions of get_mouse_position methods
2022-02-05 16:09:52 +01:00
kobewi
189dab2d76
Add visibility to CanvasLayer
2022-02-05 14:02:21 +01:00
Stijn Hinlopen
31824420e4
Center when scrolling to tree item.
2022-02-05 10:59:33 +01:00
Rémi Verschelde
df1724470d
Merge pull request #49775 from fire/faster-cvtt
...
Faster CVTT by lowering default quality
2022-02-05 10:28:07 +01:00
Rémi Verschelde
9fd095011e
Merge pull request #57639 from Sauermann/fix-onready-docs
...
Add @ to onready annotated variables in docs
2022-02-05 10:11:13 +01:00
kobewi
e714f5e56e
Rework TextureButton stretch
2022-02-05 02:11:32 +01:00
Fabio Alessandrelli
347d2dfc42
[Net] Move RPC, Node cache out of MultiplayerAPI.
...
Now uses two interfaces so it can be overridden in the future, and
core no longer depends on Node.
The interfaces are implements in scene/multiplayer.
Replaces root_node with root_path.
Remove all Node references from MultiplayerAPI.
2022-02-05 02:00:23 +01:00
Markus Sauermann
70da14db68
Add @ to onready annotated variables in docs
2022-02-05 01:08:41 +01:00
Rémi Verschelde
d091995e05
Merge pull request #57518 from pycbouh/docs-theme-refinement
2022-02-05 00:58:43 +01:00
K. S. Ernest (iFire) Lee
419b342a9a
Faster CVTT by reducing quality.
...
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
2022-02-04 15:15:26 -08:00
Rémi Verschelde
2885befbe6
Merge pull request #55950 from Faless/mp/4.x_replication_nodes
2022-02-04 19:03:10 +01:00
Yuri Sizov
54b47b8fa6
Refine Theme documentation to make it more factual
2022-02-04 20:29:54 +03:00
Marcel Admiraal
012809d8ae
Update definitions of get_mouse_position methods
2022-02-04 14:21:47 +00:00
Fabio Alessandrelli
d219547c96
[Net] New replication interface, spawner and synchronizer nodes.
...
Initial implementation of the MultiplayerReplicationInterface and its
default implementation (SceneReplicationInterface).
New MultiplayerSpawner node helps dealing with instantiation of scenes
on remote peers (e.g. clients).
It supports both custom spawns via a `_spawn_custom` virtual function,
and optional auto-spawn of known scenes via a TypedArray<PackedScenes>
property.
New MultiplayerSynchornizer helps synchronizing states between the local
and remote peers, supports both sync and spawn properties and is
configured via a `SceneReplicationConfig` resource.
It can also sync via path (i.e. without being spawned by a
MultiplayerSpawner if both peers has it in tree, but will not send the
spawn state in that case, only the sync one.
2022-02-04 14:56:30 +01:00
Rémi Verschelde
89eb6d372d
Merge pull request #57591 from vnen/gdscript-enum-fixes
2022-02-04 13:49:15 +01:00
Rémi Verschelde
225a3b2545
Merge pull request #57341 from bruvzg/win_multiwin_fs
2022-02-04 13:28:56 +01:00
Rémi Verschelde
d235c1bb19
Merge pull request #57335 from jordigcs/display-refresh-rate
2022-02-04 11:51:07 +01:00
bruvzg
f4ea9cd9f3
[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to allow multi-window interface in full-screen.
...
[Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04 12:08:46 +02:00
Rémi Verschelde
2a3c4f00c8
Merge pull request #57541 from reduz/node-add-remove-hook
2022-02-04 10:13:29 +01:00
jordi
54dec44dba
Add screen_get_refresh_rate to DisplayServer
2022-02-03 21:50:32 -06:00
Rémi Verschelde
f8f19b313d
Merge pull request #57562 from AnilBK/string-add-contains
...
String: Add contains().
2022-02-03 22:21:24 +01:00
Anilforextra
adbe948bda
String: Add contains().
2022-02-04 01:28:02 +05:45
Rémi Verschelde
7191605324
Merge pull request #57587 from bruvzg/gde_fix_ptr_and_enum_returns
...
[GDExtension] Fix registration of functions with enum or native pointer return type.
2022-02-03 20:36:59 +01:00
Rémi Verschelde
bf0253bab9
Merge pull request #56764 from madmiraal/fix-45592-2
2022-02-03 18:10:30 +01:00
George Marques
ad6e2e82a9
GDScript: Consolidate behavior for assigning enum types
...
This makes sure that assigning values to enum-typed variables are
consistent. Same enum is always valid, different enum is always
invalid (without casting) and assigning `int` creates a warning
if there is no casting.
There are new test cases to ensure this behavior doesn't break in
the future.
2022-02-03 13:32:16 -03:00
Rémi Verschelde
5e39a8eded
Merge pull request #56992 from YeldhamDev/smarter_popmenu_focus
2022-02-03 17:15:06 +01:00
Rémi Verschelde
45d5aa5d47
Merge pull request #56365 from aaronfranke/default-shape-size
2022-02-03 16:59:07 +01:00
bruvzg
ead6f67670
Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-03 16:04:07 +02:00
bruvzg
ddd96b3059
[GDExtension] Fix registration of functions with enum or native pointer return type.
2022-02-03 16:03:23 +02:00
Gilles Roudière
73e784de1e
Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()
2022-02-03 11:59:32 +01:00
Rémi Verschelde
36880714e4
Merge pull request #57517 from groud/viewport_expose_gui_focus
2022-02-03 11:20:20 +01:00
Rémi Verschelde
309b9d3301
Merge pull request #57575 from timothyqiu/doc-stream-peer-buffer
2022-02-03 10:24:12 +01:00
Haoyu Qiu
b30c566c19
Add documentation for StreamPeerBuffer
2022-02-03 16:00:55 +08:00
TechnicalSoup
3dc1fad262
Expand description for warp_mouse_position method
...
Add more detail to the description for the warp_mouse_position method, clarifying that the vector is in screen coordinates and relative to an origin at the top of the game window.
2022-02-03 10:11:25 +11:00
Yuri Roubinsky
ca42bfb2a5
Merge pull request #57504 from Chaosus/vs_vector2
2022-02-02 21:12:45 +03:00
Yuri Roubinsky
59af063636
Add support for 2D vector type to visual shaders
2022-02-02 19:59:34 +03:00
Max Hilbrunner
68e62fb5cd
Merge pull request #57540 from mhilbrunner/docs-object-set
...
DOCS: Object.set() does nothing on type mismatch
2022-02-02 16:31:26 +01:00
Max Hilbrunner
c8ee8082f4
Merge pull request #57531 from Calinou/doc-area-overlaps
...
Clarify Area2D/Area3D `overlaps_area()`/`overlaps_body()` documentation
2022-02-02 15:22:38 +01:00
reduz
fbd9599b04
Add a signal to notify when children nodes enter or exit tree
...
-Allows more fine grained notifications (hence better performance) than using the global scene tree signals (node added and removed).
-Required for #55950
2022-02-02 11:28:11 +01:00
Max Hilbrunner
bb7d003881
DOCS: Object.set() does nothing on type mismatch
2022-02-02 11:24:47 +01:00
bruvzg
215bede6ff
[TextServer] Add function to change font, font size, and OpenType features without invalidating line break points, justification points, or recreating shaped text buffer.
2022-02-02 11:20:44 +02:00
Hugo Locurcio
2ea08134c3
Clarify Area2D/Area3D `overlaps_area()`/`overlaps_body()` documentation
2022-02-01 22:20:29 +01:00
Hugo Locurcio
10e7977be3
Clarify documentation for Rect2/Rect2i's `has_no_area()`
2022-02-01 18:00:05 +01:00
Gilles Roudière
3521eecb4c
Exposes gui_release_focus and gui_get_focus_owner to Viewport
2022-02-01 15:07:22 +01:00
Rémi Verschelde
d4e21b7d62
Merge pull request #57358 from akien-mga/signal-bindings-object
2022-02-01 14:24:47 +01:00
Rémi Verschelde
f1bff648f2
Merge pull request #57355 from akien-mga/method-bindings-clearer-types
2022-02-01 14:24:35 +01:00
Aaron Franke
8cfd264148
Improve the default size for 3D shapes (Box, Capsule, and Cylinder)
2022-02-01 06:43:16 -06:00
Rémi Verschelde
dafadd73ac
Merge pull request #57375 from Calinou/gradienttexture-curvetexture-decrease-default-size
2022-02-01 13:39:16 +01:00
Markus Sauermann
7b4635d9cd
Fix TileMap remove_layer description
2022-02-01 00:45:12 +01:00
Rémi Verschelde
8c7cd904f5
Merge pull request #57469 from Sauermann/fix-rect2i-intersect
2022-02-01 00:05:02 +01:00
Rémi Verschelde
45553fd586
Merge pull request #56970 from YeldhamDev/rise_tabbar_rise
2022-01-31 21:46:07 +01:00
Michael Alexsander
64c4a5b283
Bring `TabBar` to full parity with the `TabContainer` implementation.
2022-01-31 15:35:54 -03:00
Markus Sauermann
23a4fe5b27
Fix incorrect Rect2i calculations: intersects and encloses
...
Clarify expand documentation
2022-01-31 19:03:57 +01:00
Marcel Admiraal
15ea6706e2
Invert Camear2D zoom to make it intuitive
2022-01-31 16:35:28 +00:00
Rémi Verschelde
d7822cbf21
Merge pull request #57367 from Chaosus/vs_derivative
2022-01-31 16:51:30 +01:00
Rémi Verschelde
7cb25c2870
Merge pull request #57456 from Paulb23/placeholder-color
...
Move placeholder colour to theme item
2022-01-31 14:52:34 +01:00
Charlie Burnham
aab4cdf135
Fix recommended snippet for getting collisionshape node in body/area signal docs
2022-01-31 02:34:02 -06:00
Ev01
b6c543179c
Fixes invalid links to tutorials in AudioStreamGenerator, AudioStreamGeneratorPlayback, and AudioEffectSpectrumAnalyzer class references
2022-01-31 17:36:57 +11:00
Markus Sauermann
acea57a715
Fix Rect2i.intersects doc: include_borders is no argument of this function
2022-01-30 23:22:23 +01:00
Paulb23
1cd1df5dc3
Move placeholder color to theme item
2022-01-30 17:56:23 +00:00
Hugo Locurcio
736ac25306
Rename the physics server `run_on_thread` project settings
...
`run_on_separate_thread` is more explicit.
2022-01-29 17:35:50 +01:00
Rémi Verschelde
cb3d308f96
Merge pull request #57372 from KoBeWi/tween_freeze()
...
Better handle infinite Tween loops
2022-01-29 08:08:34 +01:00
kobewi
038977a985
Better handle infinite Tween loops
2022-01-29 00:36:39 +01:00
Hugo Locurcio
b4f0d4c7db
Decrease the default GradientTexture and CurveTexture size
...
This provides better usability when a GradientTexture or CurveTexture
is added to a Control node.
Visual appearance of most GradientTextures and CurveTextures will
be unaffected.
2022-01-29 00:28:10 +01:00
Rémi Verschelde
ffa566c770
Merge pull request #57330 from eikobear/master
2022-01-28 23:59:18 +01:00
eikobear
3b146c5eaa
Make various improvements to OptionButton
...
- Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor.
- Reset OptionButton selection to -1 when the selected item has been removed.
- Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
2022-01-28 17:03:45 -05:00
Pawel Lampe
450e29a569
Improve Navigation2D default settings, see #56852
...
This commit reduces `cell_size` and `edge_connection_margin` default
values so that `Navigation2D` behaves more like in Godot <= `3.4` by default.
2022-01-28 22:35:05 +01:00
Yuri Roubinsky
88b2afa28f
[VisualShader] Merge scalar and vector derivative functions into one
2022-01-28 22:19:10 +03:00
Rémi Verschelde
7c3003fcbe
Improve some signal bindings to use specific `Object` subtypes
2022-01-28 15:35:40 +01:00
Rémi Verschelde
7072b359b4
Improve some method bindings to use specific `Object` subtypes
...
This was made possible by changes to `VariantCaster` which now make
it possible to pass any `Object`-derived type as pointer.
2022-01-28 15:07:22 +01:00
Rémi Verschelde
b8b33df178
TileSetAtlasSource: Make `get_tile_data` return `TileData *`
...
This is now possible thanks to `Variant` changes.
Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-28 14:27:12 +01:00
Rémi Verschelde
e6caaf4c80
Merge pull request #57205 from TechnoPorg/variant-template-cast
...
Allow method binds to take Object subclasses as arguments
2022-01-27 23:46:37 +01:00
Hugo Locurcio
c35968e276
Improve documentation for `ReflectionProbe.max_distance` property
2022-01-27 12:38:38 +01:00
Rémi Verschelde
4b36b6e92a
Merge pull request #56785 from bruvzg/nat_handles_4
2022-01-27 12:12:34 +01:00
Rémi Verschelde
203e261526
Merge pull request #57293 from mhilbrunner/windows-console-fixups
2022-01-27 11:48:53 +01:00
Rémi Verschelde
899cd34426
Merge pull request #57281 from Rubonnek/rename-subsequence
2022-01-27 11:03:13 +01:00
Max Hilbrunner
9590eeebb5
Minor typo fixups to Windows console changes
2022-01-27 03:11:00 +01:00
Max Hilbrunner
5deb5ebf23
Expose Transform3D::sphere_interpolate_with()
2022-01-27 02:53:20 +01:00
Wilson E. Alvarez
3eb5e0ac50
Rename String::is_subsequence_ofi to String::is_subsequence_ofn
2022-01-26 18:03:56 -05:00
fabriceci
cc3c4d6323
Revert #53174 (applying the delta in move and collide), rename rec_vel to distance and improve the doc description
2022-01-26 23:09:30 +01:00
Rémi Verschelde
58324f4df8
Merge pull request #54574 from Ansraer/glow_map
2022-01-26 13:39:51 +01:00
Bastiaan Olij
98e5cd24db
Improve XRInterface hooks into rendering
2022-01-26 13:55:44 +11:00
Michael Alexsander
73c225838f
Make popup menus focus items automatically when not using the mouse
2022-01-25 13:51:56 -03:00
TechnoPorg
051ef479c9
Allow method binds to take Object subclasses as arguments
...
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
Rémi Verschelde
894e2fddda
Merge pull request #55841 from OverloadedOrama/expose-bitmap-methods
2022-01-25 16:54:26 +01:00
Rémi Verschelde
3102660512
Merge pull request #37945 from IllusiveS/master
...
Expose AnimationNodeOneShot::mix_mode as a property
2022-01-25 07:58:46 +01:00
Wysocki Patryk
f16c483c9d
Expose AnimationNodeOneShot::mix_mode as a property
...
Fixes #23458 .
2022-01-25 01:17:21 +01:00
Rémi Verschelde
81f2ce4e46
doc: Clarify expected type of `Object *` parameters in Tree methods
...
They're meant to be `TreeItem *` but this can't be bound in Variant.
Fixes #20538 .
2022-01-25 00:54:28 +01:00
Rémi Verschelde
672363f295
Merge pull request #56888 from FreegleBarr/implement_gpuparticle_subemitters2d
2022-01-24 22:19:55 +01:00
freeglebarr
6f88294528
ported particle sub-emission to 2D
2022-01-24 17:28:59 -03:00
Rémi Verschelde
5f8f6ae7f6
Merge pull request #57120 from KoBeWi/grandpa_issue
2022-01-24 21:03:48 +01:00
fabriceci
856142a97d
rename free mode to floating mode
2022-01-24 15:19:43 +01:00
kobewi
d7f51dd2ec
Better clarify map_to_world() description
2022-01-24 14:13:40 +01:00
Max Hilbrunner
26da72eb4b
Fix make_rst.py on Windows
2022-01-24 10:30:07 +01:00
Rémi Verschelde
06abfd8c13
Merge pull request #57100 from Paulb23/textedit-placeholder
2022-01-24 09:43:33 +01:00
Rémi Verschelde
bd4d57ede2
BaseButton: Rename `pressed` property to `button_pressed`
...
This fixes a conflict with the `pressed` signal.
The new name is temporary and only intended to solve the conflict for upcoming
alpha builds. Discussions are still ongoing regarding the BaseButton API and
how to rename and refactor more of its properties, signals and methods to have
a clearer API in 4.0.
2022-01-23 22:15:09 +01:00
Paulb23
09212ba151
Add Placeholder to TextEdit
2022-01-23 20:19:36 +00:00
Rémi Verschelde
904bc403a0
Merge pull request #56983 from Calinou/doc-softdynamicbody3d-no-gameplay
2022-01-23 12:54:31 +01:00
Rémi Verschelde
649aa547a3
Merge pull request #57060 from KoBeWi/you_have_1_completion_request
2022-01-23 00:26:35 +01:00
kobewi
b86e3dbe7b
Add usage of indeterminate checkboxes to editor
2022-01-22 21:12:06 +01:00
kobewi
1422c756ed
Rename request_code_completion signal
2022-01-22 14:04:35 +01:00
Andrii Doroshenko (Xrayez)
5d17fe7d0f
Add `Input.is_anything_pressed` method
2022-01-20 20:55:14 +02:00
Rémi Verschelde
7e3b92f81f
Merge pull request #55360 from Calinou/rename-bake-mode-properties
2022-01-20 17:35:32 +01:00
Rémi Verschelde
dbd560cb68
Merge pull request #53857 from briansemrau/rd-free-rid-bind-rename
2022-01-20 17:24:34 +01:00
Ansraer
90652b1755
add support for glow maps
2022-01-20 16:47:25 +01:00
Rémi Verschelde
eacde082a5
Merge pull request #53276 from Phischermen/propagate_check
2022-01-20 16:37:16 +01:00
Rémi Verschelde
b6cb366884
Merge pull request #56949 from timothyqiu/has-clipboard
2022-01-20 12:09:45 +01:00
Rémi Verschelde
7057d26343
Merge pull request #56936 from BastiaanOlij/add_tracking_confidence
2022-01-20 12:09:06 +01:00
Hugo Locurcio
677ae4e458
Document that soft bodies should be avoided for gameplay purposes
2022-01-20 01:35:49 +01:00
Bastiaan Olij
173105596e
Adding a tracking confidence state to XRPose
2022-01-20 10:35:50 +11:00
Rémi Verschelde
d661835a18
Merge pull request #54729 from Paulb23/text-edit-callable
2022-01-19 21:36:56 +01:00
Paulb23
f43f68f605
Convert TextEdit callbacks to Callable
2022-01-19 17:26:22 +00:00
Hugo Locurcio
84a69d7429
Improve the default project theme
...
The new default project theme uses StyleBoxFlat extensively for
a more modern design and better scalability to multiple resolutions.
SVG icons are now used in place of PNG icons. While this does not
allow for true vector-based icon drawing (icons are still rasterized
at load-time), this makes the design work easier for contributors
and opens the door to vector drawing in the future (e.g. with polygons
or SDFs).
Like for editor icons, the SVG header file is now built automatically
when a SVG file is changed. This removing the need for running
`make_header.py` manually (TODO).
The "Use Hidpi" project setting has been removed in favor of a
"Default Theme Scale" project setting, which allows creating the
default theme at a higher/lower scale than the default.
This can be used when designing GUIs with a high base resolution
to ensure crisp visuals.
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-19 18:46:01 +03:00
Haoyu Qiu
314f309035
Add `DisplayServer.clipboard_has()` to check clipboard content
2022-01-19 23:44:20 +08:00
Rémi Verschelde
cba2fd2e80
Revert "Add new scaling modes for splash screen"
...
This reverts commit fcc9f5ce39
.
The feature is good but the implementation still needs more work.
A new PR will be made with a rework of this commit.
2022-01-19 16:09:52 +01:00
Max Hilbrunner
2d1080e430
Merge pull request #56930 from skyace65/Stringify
...
Better explain JSON stringify indent parameter (4.0)
2022-01-19 15:07:00 +01:00
skyace65
03257fcecb
Better explain JSON stringify indent parameter (4.0)
2022-01-19 08:32:58 -05:00
Rémi Verschelde
6ab5d9d008
Merge pull request #56935 from V-Sekai/window_theme_changed_signal
2022-01-19 13:31:56 +01:00
Fabio Alessandrelli
7e14548fc6
[Editor] Move some animation specific keying logic out of inspector.
...
Most of the custom logic to handle special keying cases is now inside
the AnimationPlayerEditorPlugin.
The EditorInspector now emits a signal when inspecting a new object.
2022-01-19 11:08:25 +01:00
Rémi Verschelde
74b110a736
Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindow
2022-01-19 10:03:17 +01:00
SaracenOne
2db30ef223
Add missing 'theme_changed' signal to Window class
2022-01-19 07:59:42 +00:00
Kevin Fischer
a4bac268c9
Addded methods to propagate checks & refactored classes to use new methods.
2022-01-18 19:21:59 -08:00
Samuel Pedrajas
fcc9f5ce39
Add new scaling modes for splash screen
...
Removes the `fullsize` option which is superseded by `stretch_mode`.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-18 23:29:11 +01:00
Rémi Verschelde
030638e5b4
Merge pull request #56104 from Geometror/add-flow-layout-container
...
Add FlowContainer
2022-01-18 20:26:29 +01:00
Rémi Verschelde
01eefa2c50
Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascades
2022-01-18 16:21:39 +01:00
Rémi Verschelde
ce2b5bdfa8
Merge pull request #52969 from bruvzg/locale_detection
2022-01-18 15:43:04 +01:00
Rémi Verschelde
28cd81c581
Merge pull request #56896 from akien-mga/dictionary-improve-VariantWriter-and-docs
2022-01-18 15:33:00 +01:00
Rémi Verschelde
7c771ea310
Merge pull request #47522 from madmiraal/rename-test_width-test_height
2022-01-18 13:39:57 +01:00
bruvzg
40c56ed410
Improve locale detection.
...
Use separate language, script and country lists.
Add locale selection dialog and property hint.
2022-01-18 14:30:00 +02:00