Daniel Kariv
52b114bc78
fix fullscreen issue on macOS
...
adds a call for resize event.
2021-09-03 14:35:28 +03:00
Fabio Alessandrelli
d20031ccae
Merge pull request #52342 from Faless/enet/4.x_no_close_error
...
[Net] Silence ENetMultiplayerPeer close_connection.
2021-09-03 10:20:26 +02:00
Max Hilbrunner
8c82e305ba
Merge pull request #52329 from ZuBsPaCe/gdscript-unused-private-class-variable-fix
...
GDScript: Fix for UNUSED_PRIVATE_CLASS_VARIABLE
2021-09-03 10:04:11 +02:00
ZuBsPaCe
c76ad6b158
GDScript: Count usages of member variables.
...
Otherwise private member variables will always lead to UNUSED_PRIVATE_CLASS_VARIABLE.
2021-09-03 07:44:46 +02:00
Fabio Alessandrelli
c39d31899a
Merge pull request #52354 from V-Sekai/single_packed_array_spawn_fix
...
Fix sending zero-length spawn variant
2021-09-03 02:55:34 +02: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
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
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
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
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
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
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
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
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
Hugo Locurcio
854f328517
Capitalize properties in the remote inspector
...
This makes property casing consistent with the editor.
If property capitalization is disabled in the Editor Settings,
the remote inspector will also disable capitalization.
2021-08-31 16:39:37 +02:00
Gilles Roudière
71dd26dd43
Merge pull request #52269 from fabriceci/change-platform-detection
...
Change platform detection by allowing select layers by type (wall or …
2021-08-31 16:29:14 +02:00
Ev1lbl0w
292ed61c18
Implemented advanced features of DAP
...
Respect client "supportsVariableType" capability
Implement "breakpointLocations" request
Implement "restart" request
Implement "evaluate" request
Fix error messages not being shown, and improved wrong path message
Removed thread option and behavior
Implemented detailed inspection of complex variables
Fix "const"ness of functions
Added a configurable timeout for requests
Implement Godot custom data request/event
Implement syncing of breakpoints
Added support for debugging native platforms
2021-08-31 15:17:58 +01:00
fabriceci
f9d548627d
delta time as double
2021-08-31 14:32:56 +02:00
fabriceci
1a481c8191
Change platform detection by allowing select layers by type (wall or floor)
2021-08-31 09:59:04 +02:00
Fabio Alessandrelli
7ab78c4cad
Merge pull request #49598 from Calinou/web-editor-improve-download-project-source-zip-name
...
Improve the generated ZIP archive name when using Download Project Source
2021-08-31 02:36:02 +02:00
kobewi
3f3739ccb5
Add Vector2.from_angle() method
2021-08-31 01:53:58 +02:00
Juan Linietsky
bcd73fc00a
Merge pull request #52240 from Rubonnek/rename-rel-path
...
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30 20:45:45 -03:00
PouleyKetchoupp
26bd432707
Harmonize default value for collision mask in ray/shape queries
...
The default mask for queries was 0, 0x7FFFFFFF or 0xFFFFFFFF depending
on the cases.
Now always using 0xFFFFFFFF (in the form of UINT32_MAX to make it clear)
in order to use all layers by default.
2021-08-30 16:42:49 -07:00
kobewi
017c94222e
Remove cartesian2polar and polar2cartesian
2021-08-31 01:41:41 +02:00
Juan Linietsky
d085b2d04d
Merge pull request #43838 from lupoDharkael/cancel-member
...
Clear connection data from/to empty after used
2021-08-30 19:38:51 -03:00
William Deurwaarder
b2f858870d
Show help for built-in functions (@GlobalScope)
2021-08-30 21:51:56 +02:00
Bengt Söderström
3a323c4b97
Documented soft body pinning methods
2021-08-30 21:48:52 +02:00
Bengt Söderström
08a80962cf
Expose soft body pin methods to GDScript
2021-08-30 20:07:14 +02:00