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
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
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
Rémi Verschelde
9912492e93
Merge pull request #56668 from akien-mga/array-slice-nicer-bound-checks
2022-01-18 13:22:35 +01:00
Rémi Verschelde
8898d6dadc
Dictionary: Serialize empty dict as {}
instead of {\n}
...
Also make sure to always convert multiline dictionaries to a single line for
its EditorHelp representation, as multiline values break formatting.
2022-01-18 11:31:21 +01:00
Rémi Verschelde
38a54084be
Merge pull request #56826 from noidexe/patch-3
2022-01-18 10:50:43 +01:00
bruvzg
d62ca0c9c0
Window management improvements.
...
[macOS] Fix transient windows not working in the full-screen mode.
[macOS] Fix moving transient windows to the other screen than parent window.
[macOS] Fix popup menu switch on hover.
[macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events).
[macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected.
[macOS/Windows] Fix moving fullscreen windows between the screens.
Add auto refocusing of the parent window, when the focused transient window is closed.
Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-18 11:47:03 +02:00
rafallus
ba7d3f8331
Fix input_ray_pickable
documentation for CollisionObject3D
2022-01-18 01:01:11 -06:00
Lisandro Lorea
176a9c738f
Give example of one-liner for Array natural sort
...
The documentation for the sort method warns the user that it doesn't do natural sort but fails to provide a solution when it's just a one liner thanks to String.naturalnocasecmp_to() and lambda support
This suggests exactly the same algorithm as used by the filesystem dock for file sorting.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-01-17 15:11:50 -03:00
Rémi Verschelde
324dca57af
Merge pull request #56828 from KoBeWi/7H15_15_NUMB3R
2022-01-17 17:25:05 +01:00
Hugo Locurcio
2dc7b03a82
Allow using between 1 and 8 cascades for SDFGI
...
This provides more flexibility between performance and quality
adjustments, especially when using SDFGI for small-scale levels
(which can be useful for procedurally generated scenes).
2022-01-17 16:49:02 +01:00
kobewi
7bb682651f
Clarify to_float() and to_int() methods
2022-01-17 16:44:07 +01:00
Rémi Verschelde
b315295ffc
Merge pull request #56865 from bruvzg/cmd_exec
2022-01-17 15:58:06 +01:00
Rémi Verschelde
57ad84537d
Merge pull request #56860 from bruvzg/icu_case
2022-01-17 14:28:38 +01:00
bruvzg
9faf1e027a
[Documentation] Add instruction how to execute built-in commands of various shells.
2022-01-17 15:10:04 +02:00
Rémi Verschelde
8bdef23f7f
Merge pull request #56012 from bruvzg/wt 🤎 4
2022-01-17 13:26:15 +01:00
Rémi Verschelde
a2d323c67e
Merge pull request #54794 from bruvzg/runtime_bmfont_parser
2022-01-17 13:25:08 +01:00
bruvzg
e02a097280
[TextServer] Implement locale and context sensitive case conversion functions.
2022-01-17 14:23:36 +02:00
Rémi Verschelde
a27b85378b
Merge pull request #56309 from Calinou/remove-pvrtc-support
2022-01-16 11:15:34 +01:00
Rémi Verschelde
1cff9a2e49
Merge pull request #55551 from brennengreen/panorama-sky-filtering
...
Add filtering property to PanoramaSkyMaterial and switch from static shader to shader cache
2022-01-16 01:30:44 +01:00
Brennen Green
0695440124
Add shader cache and filter variable to PanoramaSkyMaterial
2022-01-14 23:30:27 -05:00
kobewi
3f0e9da5a4
Mention that modifying text erases BBCode stacks
2022-01-15 02:13:58 +01:00
Hugo Locurcio
40be15920f
Remove support for PVRTC texture encoding and decoding
...
On the only platform where PVRTC is supported (iOS),
ETC2 generally supersedes PVRTC in every possible way. The increased
memory usage is not really a problem thanks to modern iOS' devices
processing power being higher than its Android counterparts.
2022-01-14 21:08:22 +01:00
Rémi Verschelde
f60c81af11
Merge pull request #56784 from V-Sekai/expose-add-named-bind
2022-01-14 14:24:16 +01:00
bruvzg
89f37d4105
Add support for getting native display, window, and view handles.
2022-01-14 13:36:32 +02:00
K. S. Ernest (iFire) Lee
c5528af71c
Expose add_named_bind for all essential skin bindings.
2022-01-14 03:20:24 -08:00
Marcel Admiraal
5c3600b29f
Fix mouse velocity not changing fast enough
...
- Uses all accumulated movements when calculating velocity
- Discards old accumulated movements
- Sets last mouse velocity to zero when there is no movement
2022-01-13 18:51:34 +00:00
Rémi Verschelde
f0382530a7
Merge pull request #56268 from KoBeWi/ 🚗 complete_setters
2022-01-13 12:40:48 +01:00
Rémi Verschelde
e0f2902a11
Merge pull request #55665 from KoBeWi/you_touched_my_TouchScreeenButton
2022-01-13 12:23:49 +01:00
Rémi Verschelde
a987ebfde2
Merge pull request #56714 from bruvzg/fix_alignment_break_overrun
2022-01-13 10:20:02 +01:00
Rémi Verschelde
8fce6166cb
Merge pull request #56311 from Calinou/default-allow-hidpi
2022-01-13 09:33:00 +01:00
Rémi Verschelde
f6792eacf5
Merge pull request #54956 from Calinou/lineedit-textedit-add-caret-width-theme-item
...
Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-13 09:21:01 +01:00
bruvzg
baec983d8a
[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and interaction between these modes.
...
Fix "Fill" alignment processing wrong side of the text if overrun trim was applied.
Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations.
Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character).
Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator.
Port missing overrun/justification code to the Fallback text server.
Fix inferred text direction detection by controls.
Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-13 08:53:28 +02:00
Rémi Verschelde
f927fee49a
Merge pull request #56708 from KoBeWi/to_hover_or_not_to_hover
2022-01-12 17:28:34 +01:00
Rémi Verschelde
929f483ca0
Merge pull request #55446 from Calinou/spritebase3d-remove-opacity
2022-01-12 16:49:57 +01:00
Rémi Verschelde
42d3993446
Merge pull request #56692 from JFonS/fix_gizmo_secondary_handles
2022-01-12 15:53:06 +01:00
jfons
5ebea2d120
Fix secondary handles in editor gizmos
...
Primary and secondary handles are no longer differentiated by their ids, so a bool was added to tell them apart in all the handle-related methods.
Includes a minor fix in CollisionPolygon3DEditor, unrelated to editor gizmos.
2022-01-12 14:21:20 +01:00
kobewi
4eec0032ea
Improve description of mouse_exited signal
2022-01-12 12:49:21 +01:00
Rémi Verschelde
886c75985f
Merge pull request #56710 from zacryol/spriteframes-list-3d
2022-01-12 12:21:53 +01:00
Rémi Verschelde
d9f6e33663
Merge pull request #56684 from zacryol/file-dialog-filters-description
2022-01-12 11:46:23 +01:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan
2022-01-12 11:36:41 +01:00
zacryol
4391f6a5b5
List AnimatedSprite3D in SpriteFrames description
...
Both AnimatedSprite2D and AnimatedSprite3D use a SpriteFrames resource, but the SpriteFrames
class description currently only lists being used with the 2D variant.
2022-01-11 19:55:45 -07:00
zacryol
123cfb4759
Update description of FileDialog filters
property
...
specify that multiple filetypes/extensions can be included in one filter within the
PackedStringArray, and provide an example
2022-01-11 18:04:14 -07:00
Max Hilbrunner
96a20e477b
Merge pull request #56697 from mhilbrunner/meshdatatool-docs
...
Fixed typos in MeshDataTool documentation
2022-01-11 23:00:13 +01:00
Sam
bc9df365b0
Fixed typos in MeshDataTool documentation
...
- Fixed missing "be" typo in MeshDataTool's get_face_edge function
- Corrected documentation to say negative values aren't valid
2022-01-11 17:39:10 +01:00
Max Hilbrunner
b6bdbd2650
Merge pull request #56681 from skyace65/InstancePlaceholder
...
Instance placeholder clarification
2022-01-11 17:21:01 +01:00
Rémi Verschelde
d40d86b959
Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types
2022-01-11 14:34:18 +01:00
kobewi
ba7ed05792
Unify panning in sub-editors and make it configurable
2022-01-11 13:57:19 +01:00
Rémi Verschelde
adf29a0deb
Merge pull request #56525 from timothyqiu/2d-cross-product
2022-01-11 13:35:38 +01:00
Arnav Vijaywargiya
0c46f73b5e
Fixed incorrect property types
2022-01-11 17:17:11 +05:30
Rémi Verschelde
46624388d4
Merge pull request #56322 from madmiraal/fix-42450
2022-01-11 11:33:59 +01:00
Rémi Verschelde
f20ae16e0b
Merge pull request #56323 from Gallilus/Update-default-port_grab_distance_vertical
2022-01-11 11:17:33 +01:00
Haoyu Qiu
d54586a8e6
Explain what 2D cross product means
2022-01-11 11:48:45 +08:00
skyace65
7a5f6dc543
Instance placeholder clarification
2022-01-10 20:18:33 -05:00
Rémi Verschelde
c6cefb1b79
Array
: Relax slice
bound checks to properly handle negative indices
...
The same is done for `Vector` (and thus `Packed*Array`).
`begin` and `end` can now take any value and will be clamped to
`[-size(), size()]`. Negative values are a shorthand for indexing the array
from the last element upward.
`end` is given a default `INT_MAX` value (which will be clamped to `size()`)
so that the `end` parameter can be omitted to go from `begin` to the max size
of the array.
This makes `slice` works similarly to numpy's and JavaScript's.
2022-01-10 22:42:03 +01:00
Rémi Verschelde
c5908d7ece
Merge pull request #56631 from zacryol/expand-is-on-X-description
2022-01-10 17:10:37 +01:00
Rémi Verschelde
e6cc0ff1a5
Merge pull request #56666 from bruvzg/joy_button_fix
2022-01-10 16:22:43 +01:00
bruvzg
61ea8f8337
Add joystick button index boundary check. Increase max. button number to 128 (max. buttons supported by DirectInput).
2022-01-10 14:39:05 +02:00
Rémi Verschelde
7faf02383c
Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_features
2022-01-10 13:32:54 +01:00
Rémi Verschelde
5f7bbf4d33
Merge pull request #55456 from KoBeWi/break_all_the_things
2022-01-10 12:36:21 +01:00
Rémi Verschelde
a095c4bf65
Merge pull request #56648 from KoBeWi/tween_pause()
2022-01-10 12:34:30 +01:00
Max Hilbrunner
4e5969c6f0
Merge pull request #56656 from skyace65/NormalMap
...
Fix normal map description
2022-01-10 08:37:41 +01:00
Max Hilbrunner
dbaa9273ee
Merge pull request #56638 from skyace65/ScriptProperty
...
Add a note that the script property is part of the object class
2022-01-10 08:23:53 +01:00
skyace65
d856074488
Fix normal map description
2022-01-09 15:03:33 -05:00
kobewi
205f56f226
Fix Tween pause behavior
2022-01-09 19:38:18 +01:00
kobewi
cc5dac1e50
Restore Tween easing descriptions
2022-01-09 19:35:03 +01:00
zacryol
4f9365dedf
Expand description of is_on_X methods for CharacterBody2D/3D
...
Clarifies in the description for each method that the `up_direction` and `floor_max_angle`
properties are used to determine the status of a collided surface.
2022-01-09 11:21:23 -07:00
bruvzg
c89c515ccf
[TextServer] Improve ligature cursor handling.
...
Fix mid-grapheme hit test.
Fix OpenType features property handling, add default features override option.
Enable mid-grapheme cursor by default.
2022-01-09 19:03:48 +02:00
skyace65
66fae485ea
Add a note that the script property is part of the object class
2022-01-09 10:26:16 -05:00
Rémi Verschelde
5a61822d7c
Merge pull request #56626 from KoBeWi/FilterDialog
...
Improve FileDialog filters
2022-01-09 00:52:29 +01:00
kobewi
b403954e41
Improve FileDialog filters
2022-01-08 16:27:15 +01:00
Haoyu Qiu
6f0e31a3c9
Misc documentation improvements
2022-01-08 22:38:55 +08:00
Hugo Locurcio
f6443beade
Add a theme constant to change LineEdit and TextEdit's caret width
...
This can be useful to improve caret visibility, especially at
larger font sizes. This can also be used for accessibility purposes.
2022-01-07 20:51:22 +01:00
Rémi Verschelde
c09c4e0154
Merge pull request #56575 from HaSa1002/drag-signal-began
...
Rename GraphEdit `connection_drag_begun` to `connection_drag_started`
2022-01-07 20:41:39 +01:00
kobewi
562fc4cc0d
Rename TextureRect.expand to ignore_texture_size
2022-01-07 20:21:17 +01:00
Johannes Witt
4c5ceb1a97
Rename GraphEdit connection_drag_begun to connection_drag_started
2022-01-07 18:25:03 +01:00
Rémi Verschelde
6e4da909aa
Merge pull request #56594 from Faless/editor/4.x_keying_signal_fix
...
[Editor] Fix inspector keying signals argument count.
2022-01-07 17:34:37 +01:00
Rémi Verschelde
6a27d7361a
Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhere
2022-01-07 16:14:28 +01:00
Hendrik Brucker
40ee2b8953
Add FlowContainer
2022-01-07 15:51:49 +01:00
Fabio Alessandrelli
98b147b319
[Editor] Fix inspector keying signals argument count.
...
The second parameter of the signals `EditorInspector.property_keyed` and
`EditorProperty.property_keyed_with_value` can be NIL, causing the event
to fire with less arguments when using `emit_signal` that accepts
Variant arguments, so we use the pointer version instead.
2022-01-07 15:48:37 +01:00
Rémi Verschelde
50225a0f32
i18n: Sync classref translations with current 3.x codebase
...
(cherry picked from commit defb801120
)
2022-01-07 13:39:06 +01:00
Rémi Verschelde
7640dc2c73
Merge pull request #55775 from timothyqiu/slider-drag
2022-01-07 13:02:40 +01:00
Max Hilbrunner
a1ea8976f3
Merge pull request #52441 from follower/patch-16
...
Fix the "AudioEffectRecord" descriptions.
2022-01-07 10:30:10 +01:00
Rémi Verschelde
697fb6e874
Merge pull request #56583 from skyace65/ProjectSettingErase
...
Document how to erase project settings with set_setting
2022-01-07 09:26:52 +01:00
skyace65
290038952f
Document how to erase project settings with set_setting
2022-01-06 22:25:35 -05:00
Rémi Verschelde
e1766da4bd
Merge pull request #53618 from aaronfranke/signed-angle-vec3i
...
Add length and length_squared to Vector2i/3i
2022-01-07 01:14:29 +01:00