George Marques
da9daf4c3a
GDScript: Do not complete lambda arguments from parent class
...
Since lambdas are not overriding methods from the parent class, they
should not try to check inheritance for signature matching.
2021-09-02 19:54:55 -03:00
William Deurwaarder
b92347c220
Fix incorrectly removing two characters by auto brace
...
In some situations when there were no braces auto brace still removed two
characters. This has been fixed by adding a test that a brace is found.
2021-09-03 00:33:50 +02:00
JestemStefan
177173578a
Changed Window current_screen parameter from string to int
2021-09-02 23:34:15 +02:00
SaracenOne
f09f12ce55
Fix _send_default_spawn_default function sending zero length
...
PackedByteArray when deriving from a single PackedByteArray
state variant.
2021-09-02 21:36:54 +01:00
Aaron Franke
1933df0013
Some more C# formatting
2021-09-02 15:12:15 -05:00
William Deurwaarder
b54b0bc580
Fix documentation viewer to scroll to end
...
Extra `line separation` height was not taken into account when the offset for
the different paragraphs (lines) was calculated.
2021-09-02 22:11:14 +02:00
Hugo Locurcio
b73e7623c8
Merge pull request #33123 from Calinou/remote-inspector-capitalize-properties
...
Capitalize properties in the remote inspector
2021-09-02 19:44:53 +02:00
Paulb23
dd0988f027
Fix getting deliminator start over empty lines and blank start keys
2021-09-02 18:22:49 +01:00
Michael Alexsander
ee4b0108e0
Make some enhancements to the POT generation
2021-09-02 11:12:54 -03:00
Fabio Alessandrelli
027fbc9a6c
[Net] Silence ENetMultiplayerPeer close_connection.
...
Used to print an error when it was not active, now it just returns
immediately as per the documentation.
2021-09-02 15:21:09 +02:00
Hugo Locurcio
828f9c6c29
Fix missing SConscript warning when building using SCons
2021-09-02 15:14:28 +02:00
George Marques
29a3300c6a
Merge pull request #52071 from V-Sekai/gdscript_name_conflict_check
...
Checks in analyzer and compiler for GDScript naming conflicts
2021-09-02 08:25:02 -03:00
Gilles Roudière
d4a84be4fb
Merge pull request #52331 from Geometror/tweak-tooltip-colors
...
Tweak tooltip style (slightly less dark/unified margins)
2021-09-02 12:22:46 +02:00
ThreeRhinosInAnElephantCostume
a442b06313
Fix Find Next shortcut not working when search bar is focused
2021-09-02 09:54:26 +02:00
SaracenOne
84852585b9
Check for GDScript member and class naming conflicts in a variety of conditions.
2021-09-02 07:16:06 +01:00
Fredia Huya-Kouadio
ebac430445
Merge pull request #52159 from m4gr3d/addoculus_openxr_
...
Update the AndroidManifest to enable access to Oculus OpenXR runtime
2021-09-01 21:09:28 -07:00
Hendrik Brucker
43faebdf48
Tweak tooltip style
2021-09-02 02:41:09 +02:00
Bastiaan Olij
23f27fbffc
Add functions for access members by index on packed array objects
2021-09-02 09:41:35 +10:00
bruvzg
0089adbd30
[TextServer] Fix HarfBuzz handle init order. Fix MinGW build.
2021-09-01 23:18:03 +03:00
George Marques
3d13588057
GDScript: Fix loading of interdependent autoloads
...
Move the autoload resolution to runtime by loading it into the stack
with an extra instruction. This allows an autoload to use another
autoload singleton independent of load order.
2021-09-01 16:06:30 -03:00
Fredia Huya-Kouadio
a160a95ea6
Merge pull request #52320 from nekomatata/android-plugin-view-order
...
Add support for adding plugin views behind the main view on Android
2021-09-01 11:54:46 -07:00
PouleyKetchoupp
0b681d5834
Add support for adding plugin views behind the main view on Android
...
Doesn't change the default behavior, but allows plugins to add their
view behind the main view, which gives more control over what happens
with inputs and can be useful along with transparent rendering.
2021-09-01 10:01:55 -07:00
Paulb23
ce064348fa
Add CodeEdit breakpoint unit tests
2021-09-01 16:46:04 +01:00
Paulb23
24d02d0b4e
Fix dummy rendering server memory leaks
2021-09-01 16:46:04 +01:00
Paulb23
d186862338
Fix InputMap and display server not nulling singleton on free
2021-09-01 16:46:04 +01:00
Paulb23
55a20129d6
Create framework for testing Signals
2021-09-01 16:46:04 +01:00
Paulb23
427d3d7207
Allow unit testing SceneTree Ojects
2021-09-01 16:46:04 +01:00
Paulb23
cd6b11222c
Prevent crash on startup if no audio server
2021-09-01 16:46:04 +01:00
Gilles Roudière
c97afc033f
Merge pull request #38722 from KoBeWi/proposition
...
Add offset for TextureProgress progress texture
2021-09-01 16:20:05 +02:00
Fabio Alessandrelli
58c30b2626
Merge pull request #51639 from Ev1lbl0w/gsoc21-dap
...
Implement more advanced features for DAP
2021-09-01 16:17:32 +02:00
Hugo Locurcio
0adf1a6683
Document that node groups don't have a guaranteed order
2021-09-01 15:36:51 +02:00
Austin Tasato
ce8eb09a25
Add "Physics intro" docs link for State classes
2021-09-01 06:03:03 -07:00
Hugo Locurcio
c673aea124
Display the node name in scene tree dock tooltips
...
This makes long node names previewable without having to rename them.
2021-09-01 15:02:42 +02:00
George Marques
8259a3b1c2
Merge pull request #51987 from aaronfranke/fix-docs-gdvirtual
...
Fix docs after GDVIRTUAL pull request
2021-09-01 09:39:35 -03:00
kobewi
e78ee616f7
Add offset for TextureProgress progress texture
2021-09-01 14:39:08 +02:00
George Marques
25ae279317
Merge pull request #52270 from KoBeWi/goodbye_polar
...
Remove cartesian2polar and polar2cartesian
2021-09-01 09:33:13 -03:00
George Marques
cf59028972
Merge pull request #48237 from KoBeWi/they_came_from_angle
...
Add Vector2.from_angle() method
2021-09-01 09:32:42 -03:00
Hugo Locurcio
ac7541c1b1
Merge pull request #52026 from Calinou/constiterator-fix-const
...
Fix ConstIterator to allow `for` range loops on Packed*Array
2021-09-01 14:25:01 +02:00
Gilles Roudière
a2f808fc92
Merge pull request #52300 from kleonc/tab_container_drawing_disabled_current_tab
...
TabContainer Fix drawing current tab when it's disabled
2021-09-01 09:14:46 +02:00
kleonc
3311a5b593
TabContainer Fix drawing current tab when it's disabled
2021-09-01 03:59:45 +02:00
PouleyKetchoupp
83baecdff0
Add AnimatableBody inherited from StaticBody for moving platforms
...
Instead of having a physics node named Static that can be either Static
or Kinematic, AnimatableBody is added again as a separate node:
-Inherited from StaticBody to make its usage clearer
-Still separated from CharacterBody to make its usage more focused
Properly implemented constant velocity for kinematic bodies in godot
physics servers (induced velocity without actually moving).
Also updated description for the different physics nodes to make their
usage clearer.
2021-08-31 18:14:32 -07:00
Manuel Moos
6be702bace
Fix negative delta arguments
...
Three attack points, all after the regular calculations:
1. Prevent negative physics timestep counts. They could occur if
physics_jtter_fix is changed at runtime.
2. idle_step is not allowed to go below 1/8th of the input step.
That could happen on physics_jitter_fix changes or heavily
fluctuating performance.
3. Prevent that the idle_step modification breaks the promise
that Engine.get_physics_interpolation_fraction() is between
0 and 1 by doing more physics steps than the base system wants.
Fixes #26887
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-31 22:16:23 +02:00
Hugo Locurcio
2daaf0fdc3
Make platform feature tag names lowercase
...
Feature tag names are still case-sensitive, but this makes built-in
feature tags more consistent.
- `Windows` -> `windows`
- `OSX` -> `osx`
- `LinuxBSD` -> `linuxbsd`
- `Android` -> `android`
- `iOS` -> `ios`
- `HTML5` -> `html5`
- `JavaScript` -> `javascript`
- `UWP` -> `uwp`
2021-08-31 20:34:44 +02:00
Clay John
036b7a0985
Merge pull request #51873 from Chaosus/fix_uniform_error_spam
...
Fix incorrect checking of uniform set to prevent error spam (2)
2021-08-31 11:28:48 -07:00
Hugo Locurcio
fc0bfbb33b
Remove `#ifdefs` for handling compilation with Visual Studio < 2015
...
Godot 3.3 and later require Visual Studio 2017 to be compiled.
2021-08-31 20:04:17 +02:00
Juan Linietsky
7946066577
Merge pull request #49471 from nekomatata/body-state-sync-callback
...
Clean physics direct body state usage in 2D and 3D physics
2021-08-31 14:30:17 -03:00
Camille Mohr-Daurat
0ee1179c1c
Merge pull request #52279 from fabriceci/delta-double
...
Change delta type to double in Physics_body_2/3D
2021-08-31 08:25:36 -07:00
Hugo Locurcio
d33a7367b6
Write node groups one a single line when saving a `.tscn` file
...
This makes `.tscn` files more readable by ensuring sections are always
written on a single line.
2021-08-31 17:06:18 +02:00
kobewi
f2cb0a8d4b
Add Listener2D
2021-08-31 16:53:14 +02:00
Camille Mohr-Daurat
a9fcbb1001
Merge pull request #51364 from bengtsts/master
...
Expose soft body pin methods to GDScript
2021-08-31 07:41:34 -07:00