Hugo Locurcio
8c930d98b8
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-07-27 18:01:11 +02:00
75606b352f
Ported: 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. - lawnjelly
...
328866ee6a
2022-07-27 17:51:39 +02:00
8e6b320144
Added back method removed by accident.
2022-07-27 15:52:05 +02:00
Haoyu Qiu
390735e803
Fix tree button icon not centered vertically
2022-07-27 15:21:35 +02:00
Michael Alexsander
9af14c8d90
Add font_separator
to PopupMenu
2022-07-27 15:21:19 +02:00
Haoyu Qiu
d9d2b3a7e3
Fix mismatched font outline size hint
2022-07-27 15:18:57 +02:00
Michael Alexsander
1e2c8637c2
Fix separator height influencing labeled variation in PopupMenu
2022-07-27 15:17:29 +02:00
eaa0c1016a
Ported: 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. - lawnjelly
0ab077fcef
2022-07-27 15:16:37 +02:00
Hugo Locurcio
f7585bea99
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-07-27 15:08:06 +02:00
kobewi
b7907d951c
Fix tscn not listed as Resource extension
...
(cherry picked from commit e3511dd9d7637488368fbf82b53a029fa70fce5e)
2022-07-27 14:30:26 +02:00
ScottVMariotte
d858779450
Replaced loops_current with end_loop
...
(cherry picked from commit c526ee6683b74a8e0b283b1630dd29c5280aae19)
2022-07-27 14:27:06 +02:00
285c02bf76
Ported: Add autocompletion for AnimatedSprite.play() - timothyqiu
...
0f7f3d08ba
2022-07-27 14:23:27 +02:00
Pawel Lampe
106c45519b
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-07-27 14:14:50 +02:00
lawnjelly
da628411d2
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-07-27 14:14:36 +02:00
Hugo Locurcio
724566309b
Print warning in SpatialMaterial when depth and triplanar are active
...
Using both depth mapping and triplanar mapping isn't supported.
2022-07-27 14:09:11 +02:00
smix8
1317f7000a
Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
...
Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance
2022-07-27 13:54:43 +02:00
b9fb0ae733
Ported: Backport the new Tween system as SceneTreeTween - timothyqiu, KoBeWi
...
153dc4d57e
2022-07-27 13:37:17 +02:00
bruvzg
814f76bf6b
Fixed implementation of RTL remove_line()
...
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-07-27 13:08:20 +02:00
Hugo Locurcio
de8e9fc231
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-07-27 13:07:30 +02:00
lawnjelly
3a191189ca
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-07-27 13:06:20 +02:00
Silc 'Tokage' Renew
3250bdc1e4
fixed rotated RootMotionView grid glitch
...
(cherry picked from commit df89969865ffe84d36a666716934089afa16c51f)
2022-07-27 09:04:43 +02:00
Haoyu Qiu
84ee52250c
Validate theme type/item names
2022-07-27 00:46:56 +02:00
d1108dc8bc
Ported: Implement Scene Unique Nodes - KoBeWi
...
e1c74ae83f
2022-07-27 00:45:48 +02:00
Haoyu Qiu
5d3645c8cf
Improve RayCast2D debug shape
...
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2022-07-26 15:05:00 +02:00
lawnjelly
4d6dda4df0
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-07-26 15:03:37 +02:00
Haoyu Qiu
7190c806ec
Fix Label autowrap for CJK text
2022-07-26 15:03:08 +02:00
Hugo Locurcio
4951e23481
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-07-26 15:02:39 +02:00
Michael Alexsander
691b99f40c
Draw relationship lines for items offscreen
2022-07-26 15:02:12 +02:00
Michael Alexsander
21d66d3a68
Fix GridContainer
not ignoring toplevel children
...
(cherry picked from commit 506d8ba526188bb683eeb4e4389c8bd4a18abab8)
2022-07-26 14:59:18 +02:00
58b8271bf4
Ported: 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
- ZheisterCoding
c0513268bd
2022-07-26 12:56:16 +02:00
Haoyu Qiu
56fed34913
Fix undo history for function name autocompletion
2022-07-26 12:46:13 +02:00
Eric McGuirk
55ed3e573e
Fix toggling GraphEdit's minimap with minimap_enabled
...
Fixes #53831 .
(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
2022-07-26 12:37:32 +02:00
kobewi
0da6b17950
Fix GraphEdit's valid connections being reversed
...
(cherry picked from commit b29aff8dac9bf342e45e6b6332b5efa13af9fa26)
2022-07-26 12:37:15 +02:00
Haoyu Qiu
2aefcf5585
Consider chained operation when selecting text in TextEdit::undo()
...
(cherry picked from commit 8cefbfcf432ef6ed3879ee60bf500b52149f3e01)
2022-07-26 12:35:47 +02:00
kobewi
3bb0c714bb
Fix TouchScreenButton error spam
...
(cherry picked from commit db19cc60fb1aed98c54fb2722f525a624d56b17e)
2022-07-26 12:14:49 +02:00
8275f6b161
Ported: Add missing argument names in bindings - akien-mga
...
21c3048397
2022-07-25 23:51:34 +02:00
9d9a394af6
Ported: Add an explicit way to remove a theme type. - timothyqiu and YuriSizov
...
f6251724af
2022-07-25 23:46:08 +02:00
35eabcb846
Ported: 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
- Scony
3035b9c44c
2022-07-25 22:57:51 +02:00
220b7e99be
Ported: [3.x] Add deselect() to RichTextLabel - ConteZero
...
5e714051ea
2022-07-25 22:01:26 +02:00
d1ddbecc54
Ported: [3.x] Expose get_selected_text in RichTextLabel - ConteZero
...
820728aa52
2022-07-25 21:53:36 +02:00
a43091d427
Ported: Add drag and drop to TextEdit, LineEdit, RichTextLabel - ConteZero
...
4167e98088
2022-07-25 20:32:14 +02:00
c8adff0f99
Ported:
...
Fix Right-Click clearing selection - ConteZero
57b616fb21
2022-07-25 19:55:26 +02:00
d85caf2c71
Ported:
...
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
Yuri Roubinsky
54b534c4a4
Add selection getter methods to LineEdit
...
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-07-25 18:22:15 +02:00
Hugo Locurcio
08f0acd056
Hide Tonemap White property when tonemapper is Linear in Environment
...
The whitepoint property isn't used when the tonemapper is Linear.
2022-07-25 18:20:45 +02:00
Hugo Locurcio
371b5513d3
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-07-25 18:19:48 +02:00
Markus Sauermann
e1a8b0befe
Fix event transform in ViewportContainer
2022-07-25 18:13:25 +02:00
Haoyu Qiu
9e0a1c88a0
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-07-25 18:12:28 +02:00
Ricardo Buring
156fd78792
NavigationObstacle2D: estimate agent radius only when configured to do so
2022-07-25 18:11:52 +02:00
Pawel Lampe
eb8cf74074
Fix debug navmesh errors, fixes #59845
2022-07-25 18:11:28 +02:00
Pedro J. Estébanez
ff5bae8d0e
Fix crash when passing null to AudioStreamPlayer::set_stream()
2022-07-25 18:09:39 +02:00
Ellen Poe
94c765d065
instance audio streams before AudioServer::lock call
2022-07-25 17:58:48 +02:00
Haoyu Qiu
18d0362cc0
Fix crash when using Camera2D::set_custom_viewport()
2022-07-25 17:57:41 +02:00
Rémi Verschelde
9197fd8d1e
Improve range property hints for various collision shapes
...
Fixes #36419 .
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
(cherry picked from commit 0d772c6e6ecf210fa5b38df790b448cb80d4eb8c)
2022-07-25 17:48:29 +02:00
Rémi Verschelde
92561386ec
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 b389ce5ccd664c993772a0b71ba99a875106b523)
2022-07-25 17:42:23 +02:00
fabriceci
75a882d02e
Fix wrong collision reported on move_and_collide
2022-07-25 17:31:13 +02:00
accd8458c8
Backported: Rename iterations_per_second to physics_ticks_per_second - Calinou - 937c1a716c
2022-03-24 11:10:56 +01:00
25cc327659
Backported: Fix inversed ADD_GROUP parameters in AnimationNodeOneShot - timothyqiu - e822145be2
2022-03-24 10:48:01 +01:00
4d1ca02a54
Backported: Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED - jasonwinterpixel - 09e4672f0d
2022-03-24 10:47:06 +01:00
32f148ac0c
Mass replaced godot to pandemonium.
2022-03-23 20:46:05 +01:00
b74c00ea65
Backported the 3.x android editor port pr by m4gr3d and thebestnom. (Godot pr 57747).
2022-03-22 19:35:57 +01:00
c9b612f012
Added StringName as a variant type, with eventually the help of 3c0059650d
.
2022-03-21 21:29:06 +01:00
5ab825ddf8
Backported: Bind mesh merging functionality in MeshInstance. The portal system introduced basic mesh merging functionality, this has wide ranging uses outside of the portal system.
...
For this reason, this PR binds the mesh merging functionality.
It also slightly modifies the calling from RoomManager to use a Vector of Node *, in order to allow binding of the function. - lawnjelly - cf1b3fdd55
2022-03-20 20:50:58 +01:00
a89fa56bea
Backported: - Fix children visibility check (cherry picked from commit 280956d) - taigi100 - b33eed23ae
2022-03-20 19:12:43 +01:00
d7f455f36f
Backported: - Add item tooltip access to OptionButton - timothyqiu - d537a88299
2022-03-20 19:07:53 +01:00
34c3176c39
Fix skinning by default in MeshInstance even if the mesh is merged.
2022-03-20 14:13:44 +01:00
4d7df62b8e
Clang format all files.
2022-03-18 19:00:13 +01:00
f8e54698e4
Include cleanups for resources.
2022-03-18 18:48:49 +01:00
8fbdcd18f9
Same change to classes under scene.
2022-03-17 22:57:56 +01:00
678ee45c4f
Move back shape's include to the header in collision object.
2022-03-17 21:02:40 +01:00
44bd2e0119
Added destructors to physics bodies to hopefully fix failing compile on some platforms.
2022-03-17 20:00:20 +01:00
3965d70ac5
Moved more includes to cpp files.
2022-03-17 19:35:23 +01:00
c354d4304f
Fix an another include error.
2022-03-17 14:30:08 +01:00
e37f5a7fe5
Hopefully fix some of the failing builds.
2022-03-17 14:21:08 +01:00
ad43fd50bd
Moved more includes.
2022-03-17 13:58:13 +01:00
3ca78453da
Moved more includes.
2022-03-17 12:47:22 +01:00
f55afe20ef
More include moves.
2022-03-17 12:12:41 +01:00
85475900e8
More include moves.
2022-03-17 12:06:40 +01:00
866569d22a
Moved more includes to cpp files.
2022-03-17 11:52:53 +01:00
2c88c46101
Moved more includes to cpp files.
2022-03-17 11:28:57 +01:00
d34ba0a7f4
Moved more includes from headers to cpp files.
2022-03-17 10:58:07 +01:00
84d139213d
Moved more includes to cpp files.
2022-03-17 10:39:38 +01:00
052027dce4
Moved more includes to cpp files.
2022-03-17 10:26:23 +01:00
6bae38ca23
Moved more includes to cpp files.
2022-03-17 09:31:00 +01:00
c621049e61
Moved more includes to cpp files.
2022-03-17 09:07:18 +01:00
38fc0c402e
Moved more includes from headers to cpp files.
2022-03-17 08:38:34 +01:00
c1ebd9905a
Moved more includes.
2022-03-16 21:09:41 +01:00
eeb7c04aaf
Moved more includes to cpp files.
2022-03-16 20:53:38 +01:00
d996789533
Moved more includes from headers to cpp files.
2022-03-16 20:46:00 +01:00
f105eba923
Moved more includes from headers to cpp files.
2022-03-16 20:40:41 +01:00
73baa5545a
Move lots of includes from the h files to cpp files in files under scene/2d.
2022-03-16 20:29:43 +01:00
ced4ae75a5
Backported:
...
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd
From godot.
2022-03-16 18:18:23 +01:00
e85cef1745
Run godot's formatting script.
2022-03-16 09:02:48 +01:00
23c332974a
Removed the arvr server.
2022-03-16 02:39:55 +01:00
938f72432e
Removed the camera server.
2022-03-16 02:16:15 +01:00
ce953ad1d6
Removed the arvr nodes.
2022-03-16 01:57:33 +01:00
50af60ded6
Removed TileMap, and TileSet.
2022-03-16 01:54:27 +01:00
aaf91df4c1
Also removed the MeshLibrary.
2022-03-16 01:30:44 +01:00
84bd8ad20a
Removed VisualShaders.
2022-03-16 00:55:47 +01:00
a9fca142bc
Fully removed Particles and Particles2D, as they were not implemented in gles2.
2022-03-16 00:06:53 +01:00
c0dfdd77f3
Removed particles editor plugins.
2022-03-15 22:25:33 +01:00
e111edf4f2
Cleaned up (hopefully all remaining) light baking things.
2022-03-15 21:07:14 +01:00
07a0ed2c42
Removed the xatlas_unwrap module.
2022-03-15 20:25:05 +01:00
6fac6ba7f7
Removed lightmap captures, and also cleaned up almost all lightmap stuff.
2022-03-15 19:57:34 +01:00
03890f9e38
Removed GIProbes.
2022-03-15 19:03:03 +01:00
9e6d2fa653
Removed the Lightmapper and BakedLightmap classes.
2022-03-15 15:45:56 +01:00
49f8e8c398
Added godot with all my currently used engine modules.
2022-03-15 13:29:32 +01:00