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
AndreaCatania
3127cc4fd4
Fix Vector ConstIterator constructor.
...
The constructor was expecting a mutable pointer, while the passed pointer was
immutable (returns a const pointer), so the compilation was failing when iterating a constant.
2021-08-30 21:09:05 +02:00
Bengt Söderström
08a80962cf
Expose soft body pin methods to GDScript
2021-08-30 20:07:14 +02:00
menip
4f4c9a5f57
Make Color Picker, Menu Button, Option Button consider camera position scale for popup position.
2021-08-30 08:42:33 -07:00
jmb462
91974057a5
Fix CTRL+V doesn't work properly in inspector textedit
2021-08-30 17:33:01 +02:00
Juan Linietsky
efc87481e4
Merge pull request #52254 from godotengine/revert-51985-coll
...
Revert " Improve collision generation usability in the new 3D scene import workflow."
2021-08-30 11:30:55 -03:00
Juan Linietsky
6dab6e4136
Revert " Improve collision generation usability in the new 3D scene import workflow."
2021-08-30 11:30:36 -03:00
Camille Mohr-Daurat
b60a51f023
Merge pull request #51985 from AndreaCatania/coll
...
Improve collision generation usability in the new 3D scene import workflow.
2021-08-30 07:25:51 -07:00
Hugo Locurcio
2c507cd426
Use the Light3D Indirect Energy property in SDFGI
...
The Indirect Energy property was previously ignored in SDFGI
(unlike VoxelGI).
2021-08-30 14:53:03 +02:00
Juan Linietsky
503244d452
Merge pull request #52245 from AndreaCatania/AndreaCatania-patch-4
...
EditorPropertyText, pass changing variable false.
2021-08-30 08:51:11 -03:00
Paulb23
cf36fb405c
syntax highlight c# verbatim string literal
2021-08-30 11:38:03 +01:00
Andrea Catania
847d9c29c7
Update editor_properties.cpp
2021-08-30 11:35:17 +02:00
Andrea Catania
d332a546c6
EditorPropertyText, pass changing variable false.
...
When the `EditorPropertyText` change is triggered, it pass the `changing` as true, while there is an early return that blocks such event to be emitted when the Editor is updating.
This commit aligns the early return with the passes parameter.
2021-08-30 11:34:01 +02:00
lawnjelly
d3a3b3aff3
Improve Basis::get_quaternion error message
...
The previous error message incorrectly suggested that any Basis could be fixed by calling get_rotation_quation() or orthonormalize(). This PR points out that only a valid rotation Basis can be fixed in this way.
2021-08-30 07:26:25 +01:00
Fabio Alessandrelli
61d681cfb9
Merge pull request #50365 from timothyqiu/ip-candidates
...
Try other resolved IPs if one fails to connect
2021-08-30 07:25:14 +02:00
Haoyu Qiu
fd52e18d19
Try other resolved IPs if one fails to connect
2021-08-30 13:00:48 +08:00
Fabio Alessandrelli
9d38ebdc3c
Merge pull request #51481 from Faless/mp/4.x_no_pup
...
[Net] Rename RPC "puppet" to "auth", drop "master".
2021-08-30 03:25:32 +02:00
Wilson E. Alvarez
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
Fabio Alessandrelli
fafddbc143
[GDScript] [Net] Allow mixing rpc annotation paramters.
...
The strings no longer needs to be in order.
The last parameter (channel), still requires all the other parameters to
be present.
2021-08-30 00:54:38 +02:00
Fabio Alessandrelli
64b9f30b92
[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".
...
This commit completely removes the RPC_MODE_MASTER ("master" keyword),
and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword).
This commit also renames the "Node.[get|set]_network_master" methods to
"Node.[get|set]_network_authority".
This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY.
RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by
any puppet peer on the master, while RPC_MODE_PUPPET meant that it would
be callable by the master on any puppet.
Beside proving to be very confusing to the user (referring to where it
could be called instead of who can call it) the RPC_MODE_MASTER is quite
useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with
the exception that the network master cannot. While this could be useful
to check in some case, in such a function you would anyway need to check
in code who is the caller via get_rpc_sender_id(), so adding the check
there for those rare cases does not warrants a dedicated mode.
2021-08-30 00:54:38 +02:00
Fabio Alessandrelli
838a449d64
Merge pull request #51788 from Faless/mp/4.x_replicator_sync
...
[Net] MultiplayerReplicator state sync.
2021-08-30 00:48:10 +02:00
Juan Linietsky
72bf79186e
Merge pull request #30391 from KoBeWi/hiding_children
...
Add support for internal nodes
2021-08-29 19:36:30 -03:00
Juan Linietsky
3a3c94bec8
Merge pull request #52235 from godotengine/revert-47635-node2d3d-transform
...
Revert "Display a matrix for Node2D and don't display a duplicate origin"
2021-08-29 17:01:33 -03:00
Juan Linietsky
07707a3627
Revert "Display a matrix for Node2D and don't display a duplicate origin"
2021-08-29 17:01:07 -03:00
Aaron Franke
f27fa5139d
Merge pull request #47635 from aaronfranke/node2d3d-transform
...
Display a matrix for Node2D and don't display a duplicate origin
2021-08-29 14:49:13 -05:00
Fabio Alessandrelli
4123612eeb
[Editor] Add "--debug-server <uri>" option.
...
Allow starting the editor debugger server for the given protocol (and
optionally bound to the given ip/port combination:
godot -e --debug-server tcp://*:8080
2021-08-29 18:03:20 +02:00
Fabio Alessandrelli
ecb2e8297c
[Editor] Editor debugger binds according to editor settings.
2021-08-29 18:03:12 +02:00
Aaron Franke
ee7bb9bbb9
Display a matrix for Node2D and don't display a duplicate origin
2021-08-29 10:34:50 -05:00
nobuyuki_nyuu
65d83cc99b
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-08-29 09:10:44 -05:00
David Cambré
2fbea9dee6
Fix VisualScriptPropertySet value hint
2021-08-29 15:47:51 +02:00
Ricardo Subtil
a08dbf3888
Fix messages with embedded newlines not being properly presented
2021-08-29 10:35:13 +01:00
Bastiaan Olij
fbac863bfb
Add source rectangle to blit
2021-08-29 14:57:16 +10:00
Hugo Locurcio
4d08a737fb
Merge pull request #52180 from timothyqiu/config-file-prop
...
Quote and escape ConfigFile keys when necessary
2021-08-28 23:49:00 +02:00
Hugo Locurcio
921bc71293
Merge pull request #52198 from mhilbrunner/fix-array-doc
2021-08-28 23:11:13 +02:00
Hugo Locurcio
4f9509e6ba
Merge pull request #52085 from williamd67/fix-await-without-argument
...
Print error message when await is not followed by signal or coroutine
2021-08-28 23:01:34 +02:00
Max Hilbrunner
a2473d7ebe
Fix Array class docs after #47406
2021-08-28 22:17:41 +02:00
Max Hilbrunner
00e66e26cc
Merge pull request #49664 from nekomatata/fix-editable-duplicated
...
Fix loading packed scene with editable children at runtime
2021-08-28 22:14:35 +02:00
Max Hilbrunner
04c64b59a1
Merge pull request #47406 from mashumafi/master-Array-insert-rc
...
Array::insert consistent with Pool*Array::insert
2021-08-28 21:18:39 +02:00
Max Hilbrunner
5d2c4faa89
Merge pull request #52164 from mhilbrunner/gd-style-fixup
...
GDScript test style fix
2021-08-28 20:16:17 +02:00
Max Hilbrunner
e0355d5db6
Merge pull request #43573 from lewiji/master
...
sprite_3d.cpp: return _is_playing() from public is_playing() function
2021-08-28 19:55:54 +02:00
Max Hilbrunner
99c2329b73
Merge pull request #43522 from qarmin/divide_by_zero_in_vectori
...
Fix crash when dividing by 0 in Vector2/3i
2021-08-28 19:53:28 +02:00
Max Hilbrunner
7368004869
Merge pull request #52176 from BastiaanOlij/fix_gl_size_param
...
Fix double named size parameter
2021-08-28 19:35:20 +02:00
Michael Alexsander
565ba91d28
Merge pull request #51906 from requizm/fix/49077
...
Fix tooltips don't appear for PopupMenus
2021-08-28 15:43:02 +00:00
William Deurwaarder
e77338978f
Print error message when await is not followed by signal or coroutine
...
When await was not followed by a signal or coroutine the GDScript parser would
crash.
This fix will check if await is followed by a signal or coroutine in case that
isn't true (element == nullptr) then an error message is printed.
2021-08-28 17:29:35 +02:00