PouleyKetchoupp
82ea2a7045
Proper support for custom mass properties in 2D/3D physics bodies
...
Changes:
-Added support for custom inertia and center of mass in 3D
-Added support for custom center of mass in 2D
-Calculated center of mass from shapes in 2D (same as in 3D)
-Fixed mass properties calculation with disabled shapes in 2D/3D
-Removed first_integration which is not used in 2D and doesn't seem to
make a lot of sense (prevents omit_force_integration to work during the
first frame)
-Support for custom inertia on different axes for RigidBody3D
2021-09-06 10:20:16 -07:00
Camille Mohr-Daurat
e1ae2708ee
Merge pull request #52271 from nekomatata/query-layer-default-mask
...
Harmonize default value for collision mask in ray/shape queries
2021-09-06 09:33:18 -07:00
Camille Mohr-Daurat
a93fb2655a
Merge pull request #52286 from nekomatata/restore-kinematic-body
...
Add AnimatableBody inherited from StaticBody for moving platforms
2021-09-06 09:32:46 -07:00
Paulb23
9785167b39
Fix brace placement with space auto indent
2021-09-06 17:10:39 +01:00
Gilles Roudière
1f97d57384
Merge pull request #35859 from Calinou/minimap-add-hover-pressed-feedback
...
Add visual feedback when hovering or dragging the code minimap grabber
2021-09-06 16:22:36 +02:00
Kirill Diduk
92fa2bac23
Explicitly convert signed to unsigned value
2021-09-06 15:40:41 +02:00
daniel-mcclintock
8a8c172b93
Fix crash during completion lookback
2021-09-06 23:10:06 +10:00
Gilles Roudière
b0b30aaf41
Merge pull request #52435 from groud/fix_crash_in_tilemap_physics
...
Fix crash in TileMap physics
2021-09-06 15:09:28 +02:00
Gilles Roudière
d9b07faad2
Merge pull request #30623 from Awkor/disable-container-child-editing
...
Prevent editing properties managed by parent container
2021-09-06 13:40:56 +02:00
Gilles Roudière
a4cd553f42
Fix crash in TileMap physics
2021-09-06 13:11:41 +02:00
lawnjelly
e5c6c773e9
Merge pull request #35617 from zmanuel/negative-delta-fix
...
Fix negative delta arguments
2021-09-06 10:33:49 +01:00
Pip
d7a6f8990a
Remove dead code from Viewport::_gui_input_event
2021-09-06 03:11:02 -04:00
Awkor
3aa2a7fc18
Prevent editing properties managed by parent container
2021-09-05 23:23:53 +02:00
Johannes Witt
48a8a59ad7
Specify description of Array.slices end parameter
2021-09-05 21:49:57 +02:00
Gilles Roudière
c6f6c05a52
Merge pull request #51722 from TokageItLab/implement-set-read-only-in-extended-class
...
Apply `set_read_only()` to child classes of `EditorProperty` elements
2021-09-05 18:58:02 +02:00
jmb462
752e2bcee0
Fix comment causes content of folded methods to not hide
2021-09-05 12:30:27 +02:00
Silc 'Tokage' Renew
facf8f1883
Apply set_read_only() to child classes of EditorProperty elements
2021-09-05 18:22:17 +09:00
Daniel Doran
3264ba296e
fix invalid string cast
2021-09-04 21:38:07 -06:00
Bastiaan Olij
f3ab094133
Merge pull request #52309 from BastiaanOlij/add_extension_index_functions
...
Add functions for access members by index on packed array objects
2021-09-05 11:52:43 +10:00
Bastiaan Olij
32ddcaf15e
Add missing parameter names to _commit_views GDVIRTUAL_BIND
2021-09-05 11:51:13 +10:00
Julien Nguyen
a92d2c447b
Fix extends with relative path to parent script
2021-09-05 00:11:04 +02:00
bruvzg
49e316f41e
Add TextServer parentheses stack dynamic reallocation support.
2021-09-04 17:48:20 +03:00
Max Hilbrunner
0bdbce672c
Merge pull request #52341 from Calinou/scons-fix-missing-sconscript-warning
...
Fix missing SConscript warning when building using SCons
2021-09-04 11:51:47 +02:00
Hennadii Chernyshchyk
2b78353e79
Remove extra get_script_instance check
...
Otherwise, `_ready()` will not be called on classes
that define this function and doesn't have a script attached.
2021-09-04 12:14:54 +03:00
Hugo Locurcio
c8949f21e7
Add visual feedback when hovering or dragging the code minimap grabber
...
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:22 +02:00
Ignacio Roldán Etcheverry
18c0f0b3ba
Merge pull request #51079 from raulsntos/csharp-docs
...
Add documentation to GodotSharp, Fix PackedInt64Array typo
2021-09-03 22:39:25 +02:00
Raul Santos
48c66b80ad
Add documentation to GodotSharp
...
- Adds documentation to almost every class and member in `GodotSharp`
- Fixes some old documentation to more closely follow the XML comments convention
2021-09-03 19:03:31 +02:00
Raul Santos
415529400b
Fix constant tag documentation in C# bindings generator
2021-09-03 18:54:40 +02:00
Raul Santos
5508d4606b
Fix PackedInt64Array typo in bindings_generator.h
2021-09-03 18:54:40 +02:00
Ignacio Roldán Etcheverry
ade4e9320a
Merge pull request #50872 from aaronfranke/cs-format-mini-2
...
Some more C# formatting and style fixes
2021-09-03 18:44:36 +02:00
Hugo Locurcio
c3591a9b04
Merge pull request #52368 from arthurpaulino/remove-http-request-data-note
...
Inaccurate HTTPRequest documentation node
2021-09-03 16:42:29 +02:00
Arthur Paulino
1ed3d9a0b0
improving note on HTTPRequest class under the request method documentation
2021-09-03 11:10:33 -03:00
Hugo Locurcio
2cece71b69
Merge pull request #52374 from danielkariv/fix-macos-fullscreen
2021-09-03 14:48:34 +02:00
Hugo Locurcio
b658b275b1
Merge pull request #52357 from JestemStefan/Window_wrong_parameter_type
...
Fixed property info by changing Window current_screen parameter from string to int
2021-09-03 14:42:37 +02:00
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
ThreeRhinosInAnElephantCostume
15ccd83ada
Added tests for expression matching
2021-09-03 06:59:13 +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
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
William Deurwaarder
d927d4203c
Symbol lookup jumps to the correct position in help editor
...
Commit `e4651a4` introduced `scroll_to_paragraph` and changed the implementation
of `scroll_to_line`, which also counts lines within paragraphs.
The help editor still used the `scroll_to_line` method
while it should use the newly implemented `scroll_to_paragraph' as that is
stored in its tables.
2021-09-02 21:51:27 +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
TechnoPorg
1963c63b91
Load assets before enabling editor plugins
...
Moves the code for enabling plugins from NOTIFICATION_READY to after the first scan has been completed.
2021-09-02 09:41:12 -06:00