kobewi
bdbbc78da4
Mention that Area2D doesn't support one_way_collision
...
(cherry picked from commit c836bdf5b1
)
2022-05-16 16:27:51 +02:00
kobewi
5fa7ed7686
Rescue orphan nodes in inherited scenes
...
(cherry picked from commit 2b53826ee6
)
2022-05-16 15:59:55 +02:00
kobewi
93482809e5
Fix error spam when tweened node leaves tree
...
(cherry picked from commit 45e4cb2bbf
)
2022-05-16 15:57:41 +02:00
Haoyu Qiu
58650af062
Make auto_accept_quit and quit_on_go_back properties
2022-05-14 18:24:43 +08:00
FireForge
f17c5fa7bd
Add interpolation modes to Gradient
...
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Hugo Locurcio
069c955af7
Use a floating-point number for the `timeout` property in HTTPRequest
...
This allows for greater precision when specifying a timeout in
HTTPRequest in `3.x`, similar to what is already possible in `master`.
2022-05-11 08:41:40 +02:00
lawnjelly
a4c0e2ecce
Physics Interpolation - add warnings to RESET_PHYSICS_INTERPOLATION
...
Adds warnings when NOTIFICATION_RESET_PHYSICS_INTERPOLATION is called and has no effect due to the node being hidden or not interpolated.
2022-05-10 11:17:58 +01:00
lawnjelly
328866ee6a
Physics Interpolation - Reset on adding child to SceneTree
...
For convenience, branches added to the SceneTree now have physics interpolation reset after the first update of the transform to the VisualServer.
2022-05-10 11:09:20 +01:00
Rémi Verschelde
16abb7f471
Merge pull request #60858 from lawnjelly/fti_add_mode_property
...
Physics Interpolation - add interpolation mode property to node
2022-05-10 08:42:41 +02:00
Rémi Verschelde
cf6dce2c1e
Merge pull request #60876 from timothyqiu/outline-size-hint
...
[3.x] Fix mismatched font outline size hint
2022-05-09 22:20:16 +02:00
Rémi Verschelde
20c72e8275
Merge pull request #60891 from YeldhamDev/pm_sep_font
2022-05-09 13:57:02 +02:00
Haoyu Qiu
20d3632268
Fix tree button icon not centered vertically
2022-05-09 10:53:02 +08:00
Michael Alexsander
2e4e76b2e3
Add `font_separator` to `PopupMenu`
2022-05-08 14:11:59 -03:00
Haoyu Qiu
b277390267
Fix mismatched font outline size hint
2022-05-08 10:01:38 +08:00
Michael Alexsander
4f70201fbe
Fix separator height influencing labeled variation in `PopupMenu`
2022-05-07 21:15:57 -03:00
lawnjelly
0ab077fcef
Physics Interpolation - add interpolation mode property to node
...
Exposes the "interpolated" flag on nodes via a property, physics_interpolation_mode.
Mode can be INHERIT, OFF and ON. This makes it easy to turn off interpolation for nodes in the editor, versus via code.
2022-05-07 13:51:49 +01:00
Hugo Locurcio
8682874419
Rename profiler "Idle Time" to "Process Time"
...
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.
This also changes some debug prints to be printed only when verbose
mode is enabled (like in `master`).
2022-05-06 19:31:31 +02:00
kobewi
72e1088df6
Fix tscn not listed as Resource extension
...
(cherry picked from commit e3511dd9d7
)
2022-05-05 13:47:48 +02:00
kobewi
ce36f2f699
Improve Tween infinite loop detection
...
(cherry picked from commit f473aab00d
)
2022-05-05 13:47:23 +02:00
ScottVMariotte
25ef0aaf3e
Replaced loops_current with end_loop
...
(cherry picked from commit c526ee6683
)
2022-05-05 13:42:54 +02:00
Rémi Verschelde
13bb7c6c35
Merge pull request #60763 from lawnjelly/fti_physics_flush
2022-05-05 11:59:15 +02:00
Haoyu Qiu
0f7f3d08ba
Add autocompletion for AnimatedSprite.play()
2022-05-05 09:04:40 +08:00
Pawel Lampe
505ace250d
Add ability to `bake_navigation_mesh` off thread.
...
This feature makes it possible to workaround problems such as:
- long baking time due to heavy synchronization when parsing geometry
from mesh instances
- crash when freeing `NavigationMeshInstance` while baking
- errors when actively baking node tree is being detached from the
scene tree
2022-05-04 22:41:38 +02:00
lawnjelly
df7fab51a3
Physics Interpolation - Flush transforms after physics tick
...
Leftover transforms from the physics tick were being flushed during idle, which was causing problems for physics interpolation.
This PR flushes the transforms at the end of the physics tick when physics interpolation is active.
2022-05-04 20:30:46 +01:00
Rémi Verschelde
815f7fe636
Merge pull request #49952 from Calinou/spatialmaterial-depth-triplanar-print-warning
...
Print warning in SpatialMaterial when depth and triplanar are active
2022-05-02 23:59:52 +02:00
Rémi Verschelde
4b6e5f5da6
Merge pull request #60530 from timothyqiu/theme-validation-3.x
2022-05-02 10:49:27 +02:00
Rémi Verschelde
6ee64331db
Merge pull request #60527 from KoBeWi/unique_names_demastered
2022-05-02 10:48:27 +02:00
Rémi Verschelde
8835654578
Merge pull request #60656 from akien-mga/tilemap-methods-const-ref-vector2
2022-05-02 09:51:51 +02:00
Rémi Verschelde
e61c4dd787
Merge pull request #60282 from YeldhamDev/backwards_relationships_are_even_harder
2022-05-02 09:49:09 +02:00
smix8
ebcbbec563
Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
...
Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
2022-04-30 15:54:12 +02:00
Rémi Verschelde
2834332591
TileMap: Use const ref for all Vector2 parameters
2022-04-30 14:05:57 +02:00
Haoyu Qiu
153dc4d57e
Backport the new Tween system as SceneTreeTween
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-29 20:01:12 +08:00
bruvzg
ff381f6e84
Fixed implementation of RTL remove_line()
...
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-04-29 10:59:31 +03:00
Rémi Verschelde
73e6b7c145
Merge pull request #60592 from Calinou/styleboxflat-add-skew-3.x
2022-04-28 22:29:56 +02:00
Hugo Locurcio
4b399b2285
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-04-28 20:40:01 +02:00
Rémi Verschelde
841d6e7fad
Merge pull request #59439 from fabriceci/3x-fix-move-and-collide-reported-collisions
2022-04-28 18:47:28 +02:00
lawnjelly
49eaa7bd65
Physics interpolation - fix streaking when unhiding nodes
...
The data flow to the VisualServer of current and previous transforms is essential for allowing correct interpolation. An optimization was present that disabled sending transforms when nodes were hidden, however this meant that when unhidden, nodes would interpolate incorrectly from the last transform received when hiding, rather than the up to date previous transform.
This PR disables the optimization and sends always sends transforms when a node is interpolated.
2022-04-28 12:15:14 +01:00
Silc 'Tokage' Renew
cb5f13649b
fixed rotated RootMotionView grid glitch
...
(cherry picked from commit df89969865
)
2022-04-27 12:42:43 +02:00
Rémi Verschelde
510ed791f9
Merge pull request #60554 from timothyqiu/editor-settings-cleanup
2022-04-27 11:51:03 +02:00
Rémi Verschelde
3b2ed9bdd6
Merge pull request #60330 from Calinou/aspectratiocontainer-add-property-hint-3.x
2022-04-27 10:17:04 +02:00
Haoyu Qiu
d088128b43
Remove duplicate editor settings definitions
2022-04-27 15:26:46 +08:00
Rémi Verschelde
ad76e071fa
Merge pull request #60389 from timothyqiu/raycast2d-shape
...
[3.x] Improve RayCast2D debug shape
2022-04-27 08:07:42 +02:00
Haoyu Qiu
76343f4055
Validate theme type/item names
2022-04-26 20:09:18 +08:00
kobewi
e1c74ae83f
Implement Scene Unique Nodes
2022-04-26 13:55:48 +02:00
Rémi Verschelde
4fc1a57295
Merge pull request #60347 from lawnjelly/interpolation_cpuparticles_process
...
Fix CPUParticles emission updating using physics interpolation
2022-04-25 16:29:55 +02:00
Haoyu Qiu
f33dec8084
Improve RayCast2D debug shape
...
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2022-04-20 17:28:35 +08:00
lawnjelly
fbbb208a35
Fix CPUParticles emission updating using physics interpolation
...
When switching emission on and off, processing was always being switched on and off using internal_process, which was incorrect for using physics interpolation (where physics_process is the relevant one).
This PR correctly updates the process mode according to whether physics interpolation is being used.
2022-04-18 15:30:37 +01:00
Haoyu Qiu
d43b4039db
Fix Label autowrap for CJK text
2022-04-18 21:54:46 +08:00
Hugo Locurcio
90044d6ac9
Add a property hint for AspectRatioContainer's `ratio` property
...
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.
The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-04-17 22:04:39 +02:00
Michael Alexsander
b6c501f9b0
Draw relationship lines for items offscreen
2022-04-15 16:31:15 -03:00
Michael Alexsander
21bdadbf79
Fix `GridContainer` not ignoring toplevel children
...
(cherry picked from commit 506d8ba526
)
2022-04-14 21:36:07 +02:00
Rémi Verschelde
8182a754d2
Merge pull request #59827 from ConteZero/fix_right_menu
2022-04-14 21:29:57 +02:00
Rémi Verschelde
4e4f6311b6
Merge pull request #60233 from ZheisterCoding/leading-space-fix-3.x
...
Fixed leading spaces pushing text outside Label autowrap boundary problem
2022-04-14 12:15:33 +02:00
DESKTOP-893BK8A\howar
c0513268bd
Fixed #59985 leading spaces autowrap boundary problem
...
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
2022-04-14 16:05:35 +07:00
Haoyu Qiu
19a0145742
Fix undo history for function name autocompletion
2022-04-14 14:37:31 +08:00
Rémi Verschelde
e1eb3c2fb1
Merge pull request #60147 from lawnjelly/interpolation_out_of_scenario
2022-04-13 17:08:08 +02:00
Rémi Verschelde
9a45eb70b4
Merge pull request #60204 from akien-mga/3.x-cherrypicks
2022-04-13 14:23:56 +02:00
Rémi Verschelde
57b53f5b53
Merge pull request #60035 from Calinou/camera-allow-lower-size-3.x
2022-04-13 12:48:17 +02:00
Eric McGuirk
f82cd740cf
Fix toggling GraphEdit's minimap with `minimap_enabled`
...
Fixes #53831 .
(cherry picked from commit b1441bbcfc
)
2022-04-13 11:43:49 +02:00
kobewi
bf6e7dc6f6
Fix GraphEdit's valid connections being reversed
...
(cherry picked from commit b29aff8dac
)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
1d476d7737
Consider chained operation when selecting text in TextEdit::undo()
...
(cherry picked from commit 8cefbfcf43
)
2022-04-13 11:43:49 +02:00
kobewi
73248ccf89
Fix TouchScreenButton error spam
...
(cherry picked from commit db19cc60fb
)
2022-04-13 11:43:49 +02:00
Rémi Verschelde
229a8218da
Merge pull request #60021 from timothyqiu/tilemap-nav-region
...
[3.x] Free region RID when cleaning NavPoly in `TileMap`
2022-04-13 08:56:40 +02:00
Rémi Verschelde
7efe238069
Merge pull request #60176 from madmiraal/backport-53000-3.x
...
[3.x] Add selection getter methods to `LineEdit`
2022-04-12 23:10:09 +02:00
Hugo Locurcio
cd1432eb12
Hide Viewport properties not applicable to the current rendering backend
...
This also adds a missing property range hint for the Sharpen Intensity
property (similar to the project setting).
2022-04-12 18:11:45 +02:00
Yuri Roubinsky
e54a4646c7
Add selection getter methods to `LineEdit`
...
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-04-12 14:31:51 +02:00
lawnjelly
d2b1d29634
Physics interpolation - Move out of Scenario
...
Move VisualServer interpolation data out of Scenario and into VisualServerScene, so the interpolation data and enabled status is now common to all Scenarios.
Fix physics interpolation in multithreaded mode by ensuring tick and pre-draw are called.
2022-04-11 15:04:24 +01:00
Hugo Locurcio
b9dd0180eb
Hide Tonemap White property when tonemapper is Linear in Environment
...
The whitepoint property isn't used when the tonemapper is Linear.
2022-04-10 23:50:14 +02:00
Hugo Locurcio
4bf6cbe4fe
Allow `size` values as low as `0.001` in Camera'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:53:07 +02:00
Haoyu Qiu
5c039ccc72
Free region RID when cleaning NavPoly in TileMap
2022-04-08 19:19:09 +08:00
ConteZero
820728aa52
[3.x] Expose get_selected_text in RichTextLabel
2022-04-05 22:38:10 +02:00
Rémi Verschelde
cfdb99a741
Merge pull request #57411 from Scony/fix-threaded-navmesh-baking-3.x
...
Fix navmesh baking
2022-04-05 19:59:32 +02:00
Haoyu Qiu
f6251724af
Add an explicit way to remove a theme type
...
Co-Authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-05 11:51:15 +08:00
Rémi Verschelde
20b08185f3
Merge pull request #59894 from ConteZero/richtextlabel_deselect_3.x
2022-04-05 00:01:27 +02:00
ConteZero
5e714051ea
[3.x] Add deselect() to RichTextLabel
2022-04-04 22:46:13 +02:00
Markus Sauermann
9a9f86ec12
Fix event transform in ViewportContainer
2022-04-04 22:34:49 +02:00
Rémi Verschelde
21c3048397
Add missing argument names in bindings
2022-04-04 12:56:59 +02:00
Rémi Verschelde
e03f50acd6
Merge pull request #59857 from timothyqiu/editor-missing-check-icons
...
[3.x] Add missing `CheckBox` & `CheckButton` editor icons
2022-04-04 09:34:34 +02:00
Rémi Verschelde
1183abfb79
Merge pull request #59848 from rburing/estimate_agent_radius_inside_tree
...
[3.x] `NavigationObstacle2D`: estimate agent radius only when configured to do so
2022-04-04 09:25:14 +02:00
Haoyu Qiu
1136a9b58a
Add missing CheckBox & CheckButton editor icons
...
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-04 12:15:46 +08:00
Ricardo Buring
21580f94ad
NavigationObstacle2D: estimate agent radius only when configured to do so
2022-04-03 22:11:44 +02:00
Pawel Lampe
fad77ecc39
Fix debug navmesh errors, fixes #59845
2022-04-03 21:47:20 +02:00
Pedro J. Estébanez
9e2d5120c1
Fix crash when passing null to AudioStreamPlayer::set_stream()
2022-04-03 12:52:17 +02:00
ConteZero
57b616fb21
Fix Right-Click clearing selection
2022-04-03 10:18:12 +02:00
Pawel Lampe
3035b9c44c
Fix navmesh baking, fixes #57148
...
- improved mesh data calculation from standalone static colliders so that no
VisualServer calls are performed - and thus no VS mutexes need to
be locked in case of on-thread baking
- improved the same for GridMap's static colliders
2022-04-02 23:20:41 +02:00
Haoyu Qiu
f9da6f6978
Extract theme property names for localization
2022-04-01 11:35:02 +08:00
Rémi Verschelde
5c0dccace9
Merge pull request #59413 from ellenhp/preinstance-audio-streams
2022-03-31 18:49:05 +02:00
Ellen Poe
027546ee8a
[3.x] instance audio streams before AudioServer::lock call
2022-03-31 08:48:36 -07:00
Haoyu Qiu
b89befe173
Fix crash when using Camera2D::set_custom_viewport()
2022-03-31 16:42:14 +08:00
FireForge
7f787857ef
Fix inspector group name capitalization
...
(cherry picked from commit 88b09694e7
)
2022-03-29 00:20:23 +02:00
Rémi Verschelde
c4897c4b8d
Improve range property hints for various collision shapes
...
Fixes #36419 .
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
(cherry picked from commit 0d772c6e6e
)
2022-03-28 23:57:43 +02:00
Rémi Verschelde
113102aa51
ResourceImporterWAV: Allow configuring loop mode on import
...
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample
Fixes #46164 .
(cherry picked from commit b389ce5ccd
)
2022-03-28 23:46:29 +02:00
Fredy Huya-Kouadio
cb0b2aefc3
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 07:54:10 -07:00
bruvzg
fd2fba7c2c
Add binary MO translation file support. Add brotli decoder and WOFF2 support.
...
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
2022-03-25 19:51:39 +02:00
fabriceci
65b3200a16
Fix wrong collision reported on move_and_collide
2022-03-23 11:39:54 +01:00
Haoyu Qiu
e822145be2
Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
...
(cherry picked from commit 6a3bf65657
)
2022-03-22 08:56:57 +01:00
Jason Knight
09e4672f0d
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:29 -06:00
Rémi Verschelde
6a524b2cc0
Merge pull request #57661 from lawnjelly/bind_mesh_merging
2022-03-17 19:54:31 +01:00
Haoyu Qiu
d537a88299
Add item tooltip access to OptionButton
...
(cherry picked from commit a635ecf6d4
)
2022-03-17 14:45:19 +01:00
taigi100
b33eed23ae
Fix children visibility check
...
(cherry picked from commit 280956ddc3
)
2022-03-17 14:45:19 +01:00