2
0
mirror of https://github.com/godotengine/godot.git synced 2025-03-26 00:16:37 +08:00

30300 Commits

Author SHA1 Message Date
Haoyu Qiu
f252622d82
Add numpad emulation in 3D viewport
(cherry picked from commit 4a26e61e89807c0f452f7cb4b6bde590ef39c891)
2021-07-06 11:20:30 +02:00
Hugo Locurcio
3b11b1022d
Remove unused code related to Travis CI
(cherry picked from commit 257a8a337e77a3b0a6d79b7846bb33b7887538cf)
2021-07-06 11:19:56 +02:00
Hugo Locurcio
59c5c04e38
Allow using the 3D editor's View menu while previewing a camera
This is already allowed when using cinematic preview, but not
when previewing a Camera3D the usual way.

Many operations from the View menu still work while previewing
a camera, such as switching between debug draw modes and toggling
information panes.

(cherry picked from commit fab3d136e0c1f3a3ba2a98dbc1f8cc1568858eee)
2021-07-06 11:19:38 +02:00
PouleyKetchoupp
5a66ab1ef4
Coding style fix in editor NodePath update
Added r_ prefix for reference arguments that can be modified.

(cherry picked from commit 62ce81ec1572af4766fef33372e22624e4ce2cfc)
2021-07-06 11:10:47 +02:00
PouleyKetchoupp
daa0977c68
NodePath properly updated in the editor in more cases
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.

Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.

Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.

Also update the documentation to be clear about node path update in the
editor and at runtime.

Co-authored-by: latorril <latorril@gmail.com>
(cherry picked from commit 3e4e530523e9ce22ef437af80d1beba83b46afad)
2021-07-06 11:10:47 +02:00
Hugo Locurcio
8c08b52871
Add icons for more file types in the editor asset installer
(cherry picked from commit 9698486605e771958f7395d2e2680e47d0a13434)
2021-07-06 11:10:47 +02:00
Fabio Alessandrelli
32e91b232c
[Crypto] Delete mbedtls ctx in deconstructor.
Would cause memory leak when the context was `start`ed but not
`finish`ed.

(cherry picked from commit a28d25c44181ded80c80f7ae18ea75ce28e00eec)
2021-07-06 11:10:47 +02:00
kobewi
245b9400ea
Support single quote when dropping files to script
(cherry picked from commit 5e593dda9b24af44d78a99aa330e5d3384ab6272)
2021-07-06 11:10:47 +02:00
Michael Alexsander
d453b59cba
Make invisible SplitContainer nodes correctly calculate the minimal size of its children
(cherry picked from commit e4d56e4c62e86a78246ca0d250ca6d52adbd94bf)
2021-07-06 11:10:46 +02:00
Marcel Admiraal
ab1162e918
Remove redundant explicit types in Godot Java code
(cherry picked from commit 3f95bbed736a2d709f63eaac03d40252ba7dbdf4)
2021-07-06 11:10:46 +02:00
Marcel Admiraal
6a07253bb6
Use StringBuilder instead StringBuffer in Godot Java code
(cherry picked from commit 61ee51d2bf02aa83fdb049d6863649afe14b31ba)
2021-07-06 11:10:46 +02:00
Marcel Admiraal
c1abbfb605
Fix raw use of parameterized Class
(cherry picked from commit d237f7d33d7f5625538b9e36ecec28f932c495c4)
2021-07-06 11:10:46 +02:00
Marcel Admiraal
01ecec451c
Use Java array declarations not C-style declarations in Android Java code
(cherry picked from commit 721b3d56c54f090a6142da85f206740300037252)
2021-07-06 11:10:46 +02:00
Marcel Admiraal
2b78d618f4
Remove unnecessary semicolons from Android Java code
(cherry picked from commit 360447001d1e1f750ddc69c58a8d60a67dc93879)
2021-07-06 11:10:45 +02:00
Nick H
ca1a2e1124
Add get_dead_zone() method to InputMap
This commit adds a new method to the `InputMap`, allowing the user to get the value of an action's dead zone as a float.

(cherry picked from commit c6f28ed62b5b24033439e6c5d8517883d93c5f53)
2021-07-06 11:10:45 +02:00
Pitanov V.V
d3dab1d06c
Fix GridMap erase Octans
(cherry picked from commit 4da4514b719cb3f5599774dbbfdde50d3ec89bfe)
2021-07-06 11:10:45 +02:00
Rémi Verschelde
cd64bcdae5
Android: Add isGame application attribute, default to true
It can be turned off in the export preset with `package/classify_as_game`.

Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame

> `android:isGame`
>
> Whether or not the application is a game. The system may group together
> applications classifed as games or display them separately from other
> applications.

Also fixes replacing `android:allowBackup` in custom builds.

(cherry picked from commit 40a594c6ea1803279360fdfe725d507420cd68ec)
2021-07-06 11:10:45 +02:00
Marcel Admiraal
76c1a0e91d
Fix unchecked call to put() warning in GodotInputHandler.java
(cherry picked from commit 8270e101a74bd5b231a504ce6e73ddc95e2364e1)
2021-07-06 11:10:44 +02:00
Hugo Locurcio
65063dbe0a
Tweak the 2D game camera override tooltips to match 3D
(cherry picked from commit bdca0daadc93fd251e3eb03b5c47431315db7404)
2021-07-06 11:10:44 +02:00
Rémi Verschelde
b35e61ba85
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
Fixes .

(cherry picked from commit d41f4aca774fbd32b8fdae81213fa8f2e5719fa9)
2021-07-06 11:10:44 +02:00
Rémi Verschelde
f0e76377cb
LocalVector: Don't error if from >= count
Vector handles this silently by returning -1, and we should do the same here.
Otherwise we get errors when calling `find()` on e.g. a LocalVector of size 0,
while `find()` is expected to always work (if the parameters are invalid then
it doesn't find anything, so -1).

Fixup to .

(cherry picked from commit 7b7ccf25b67ae6b28bb99b5d54f96cc299ec6b88)
2021-07-06 11:10:44 +02:00
Eric
09b231e15f
Enable Camera2D smoothing on limit change
(cherry picked from commit 525ad7c37ee146658e948cffbc2cea1e9071fca2)
2021-07-06 11:10:35 +02:00
Rémi Verschelde
153b67419f
Merge pull request from nekomatata/remove-shape-query-result-3.x
[3.x] Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult
2021-07-05 21:08:39 +02:00
PouleyKetchoupp
9eb6a43cff Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult 2021-07-05 11:21:15 -07:00
Rémi Verschelde
19359a9654
Merge pull request from Calinou/debug-overdraw-lower-opacity-3.x
Decrease opacity of the overdraw debug draw mode (3.x)
2021-07-04 09:40:09 +02:00
Hugo Locurcio
a28a4ef98a
Decrease opacity of the overdraw debug draw mode
This allows distinguishing higher amounts of overlapping objects.
2021-07-04 00:23:06 +02:00
Rémi Verschelde
6fe9a0d717
Merge pull request from nekomatata/expose-body-test-motion-3d-3.x
[3.x] Expose body_test_motion in 3D physics server
2021-07-03 09:30:10 +02:00
PouleyKetchoupp
c89476ad41 Expose body_test_motion in 3D physics server
Results are exposed through PhysicsTestMotionResult, the same way it's
done for 2D.

Also cleaned a few things in the 2D version.
2021-07-02 18:04:39 -07:00
Rémi Verschelde
14e7e7ad71
Merge pull request from madmiraal/android-remove-unused-imports-3.x
[3.x] Remove unused imports from Android Java code
2021-07-02 17:45:37 +02:00
Marcel Admiraal
1ed89353b0 Remove unused imports from Android Java code 2021-07-02 14:41:57 +01:00
Rémi Verschelde
9a31c09b6c
Merge pull request from madmiraal/android-remove-interface-modifiers-3.x
[3.x] Remove redundant interface modifiers from Android Java code
2021-07-02 12:35:21 +02:00
Marcel Admiraal
96e56af9b9 Remove redundant interface modifiers from Android Java code 2021-07-02 09:41:09 +01:00
Rémi Verschelde
d59ad7cdd4
Merge pull request from Calinou/doc-debanding-mobile-issues
Document debanding being broken on mobile
2021-07-01 12:57:21 +02:00
Hugo Locurcio
9c4ebea9ef
Document debanding being broken on mobile 2021-07-01 12:25:23 +02:00
Rémi Verschelde
ef3c346df2
Merge pull request from nekomatata/soft-body-disable-physics-3.x
[3.x] Support for disabling physics on SoftBody
2021-07-01 10:01:33 +02:00
Rémi Verschelde
5601d86a27
Merge pull request from Calinou/bakedlightmap-print-time-request-attention-3.x
Print time taken and request attention when lightmaps are done baking
2021-07-01 09:49:21 +02:00
Rémi Verschelde
cbf6d51d01
Merge pull request from nekomatata/physics-disabled-shapes-3.x
[3.x] Fix and clean disabled shapes handling in godot physics servers
2021-06-30 10:09:17 +02:00
Rémi Verschelde
e3d48d7e2c
Merge pull request from kleonc/visual_script_editor-fix-position-when-zooming
[3.x] VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-29 16:31:27 +02:00
kleonc
3336453dff VisualScriptEditor Fix in graph position calculation (do not skip zoom) 2021-06-29 15:32:16 +02:00
Rémi Verschelde
7e934e31f4
Merge pull request from madmiraal/fix-49878-3.x
[3.x] Add GDNative libraries to Android custom Gradle builds
2021-06-29 14:58:45 +02:00
Rémi Verschelde
0e5d249a39
i18n: Sync translations with Weblate
(cherry picked from commit 30bb133e01d2a1ba61fcd1b27a2ce17aa46aff3a)
2021-06-29 14:56:54 +02:00
Ricard Rovira
84474c0e6f
Use unused from in local vector find function.
(cherry picked from commit 14d590805775ff9b328e4e632ac0d442f1ccaccc)
2021-06-29 14:56:48 +02:00
Rémi Verschelde
48fe8da245
Merge pull request from akien-mga/3.x-cherrypicks 2021-06-29 14:56:18 +02:00
Levi Lindsey
f72ce41700
Update File.store_var description to mention which properties of an object are included.
(cherry picked from commit 2b7c0cfb344c3c430f52c4aeef1e05c83da62f91)
2021-06-29 14:02:24 +02:00
bruvzg
ad748adf53
[Windows Export] Use temporary file for osslsigncode signing.
(cherry picked from commit 8f7c2ccefd2be100af3cfe71b4524393df7f24c1)
2021-06-29 14:02:24 +02:00
trollodel
814e25d2d8
Fix GraphNode port position when the control has the Expand flag
(cherry picked from commit 07c3b40aa2690e80aebcb27c471731b9ffdec698)
2021-06-29 14:02:23 +02:00
Fabio Alessandrelli
63f6b29f51
[Net] Add WebSocketServer handshake_timeout property.
Allows customization of the maximum time a client is allowed to stay in
the the "pending" state (i.e. awaiting HTTP handshake).

This used to be 1 second by before, the new default is 3 seconds.

(cherry picked from commit 458437edef19bc4ddcb0a5a9b41d337a33471398)
2021-06-29 14:02:23 +02:00
Fabio Alessandrelli
4994b3a99e
[Net] Fix WebSocketClient path parsing.
Recent changes to parse_url caused the client to make invalid HTTP
requests if no path was specified.

(cherry picked from commit d244dda5970c2aa87bbe3f5468badae5c42b503d)
2021-06-29 14:02:23 +02:00
Haoyu Qiu
91ea7530bd
Validates the p_format parameter in Image::create functions.
(cherry picked from commit 0b7ffd4f6867f71506ff345765aeb7874c5fa3e2)
2021-06-29 14:02:23 +02:00
Nick H
d08717d0ee
Amend Label.clip_text() Method Description
This update fixes an inconsistencies in the documentation about the `clip_text()` method.

(cherry picked from commit ea94aeac482bf54602b23ca1aa210fa7d6a93758)
2021-06-29 14:02:23 +02:00