Commit Graph

32153 Commits

Author SHA1 Message Date
Fabio Alessandrelli acb748e66f
Merge pull request #52973 from selgesel/patch2
[3.x] Release pressed events when the window is blurred on HTML5 platform
2021-09-29 13:11:56 +02:00
O01eg cddabf2a8b
Implement override of get_message 2021-09-29 14:06:57 +03:00
kleonc 047108a4ca
SceneTreeDock Ensure to deactivate multi edit when selection changes to a single node
(cherry picked from commit 5d25115e80)
2021-09-29 11:05:05 +02:00
Matthew Newall 8f66e6148d
Corrected Save Scene and Save All Scenes not working when the scene's dir no longer exists
(cherry picked from commit ed2280528f)
2021-09-29 11:04:49 +02:00
Duarte David a4fecbb0da
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
(cherry picked from commits f4ac08a182
and 7d53755ca7)
2021-09-29 10:55:51 +02:00
Rémi Verschelde bf65c0e479
HTML5: Fix minification error with Emscripten 1.39.9
It used an old vendored version of acorn.js which seems to choke on this
trailing comma. This is not a problem for more recent Emscripten versions.

We disable the `comma-dangle` check in ESLint to prevent this issue.

(cherry picked from commit 23b51a1708)
2021-09-29 10:54:01 +02:00
Rémi Verschelde 60bcc91dd5
Merge pull request #53190 from nekomatata/software-skinning-aabb-optimization 2021-09-29 10:34:55 +02:00
Rémi Verschelde bb60c97d10
Merge pull request #53063 from stebulba/3_x_undo_closecurve 2021-09-29 10:18:37 +02:00
Rémi Verschelde 2ad1c85831
Merge pull request #52947 from zmanuel/negative-delta-fix-3x 2021-09-29 09:10:07 +02:00
Rémi Verschelde b22d3df89d
Merge pull request #53065 from godotengine/template_manager_mirror_icon_3 2021-09-29 08:12:26 +02:00
Rémi Verschelde 37a484ebbb
Merge pull request #53202 from timothyqiu/line-edit-undo 2021-09-29 08:10:12 +02:00
Haoyu Qiu eab1e228c8 Fix LineEdit undo crash
Make sure all related member variables are initialized before creating
the first undo state.
2021-09-29 13:52:40 +08:00
PouleyKetchoupp 304102f66f Optimize AABB calculation in software skinning
Using min/max instead of regular AABB for optimal processing.
2021-09-28 10:11:04 -07:00
Rémi Verschelde 1dfddae05f
Merge pull request #53113 from danger-dan/wake_on_force 2021-09-28 18:57:48 +02:00
Rémi Verschelde 72950684c8
Merge pull request #53157 from boruok/fix-atlas-texture-return-null 2021-09-28 18:53:53 +02:00
Manuele Finocchiaro 6f81c213a6 Compile bullet with threasafe switch on 2021-09-28 17:21:26 +01:00
Rémi Verschelde 9147a6a401
Merge pull request #53168 from LATRio/53120 2021-09-28 14:04:10 +02:00
LATRio 4fb7b1ebb0 fix crash in Variant::get_method_default_arguments when wrong type is passed 2021-09-28 19:57:45 +09:00
Rémi Verschelde 462b8dfe96
Merge pull request #53041 from pycbouh/docs-color-picker-and-button-3.x 2021-09-28 12:14:00 +02:00
boruok 768cff7c02 fix atlas texture return null 2021-09-28 16:34:00 +09:00
Rémi Verschelde dbe0e4613a
Merge pull request #53140 from V-Sekai/gltf_naming_fix 2021-09-28 08:40:54 +02:00
Daniel 57b3b5108a Added wakeup() call to velocity, force and impulse functions. 2021-09-28 19:00:10 +13:00
Rémi Verschelde 508a616455
Merge pull request #53142 from RandomShaper/fix_cast_freed_check_3.x 2021-09-28 07:42:40 +02:00
Rémi Verschelde d4d4603827
Merge pull request #53144 from nekomatata/software-skinning-aabb
Update mesh AABB when software skinning is used
2021-09-28 07:27:23 +02:00
Rémi Verschelde 5807586188
Merge pull request #53143 from naeu/fix_folder_icon_3.x
[3.x] Set directory dialog folder icon color
2021-09-27 23:47:43 +02:00
PouleyKetchoupp 941cff4157 Update mesh AABB when software skinning is used
Not updating the mesh properly can cause rendering issues in some cases,
like shadows not updating properly.
2021-09-27 11:56:58 -07:00
naeu 9fb7efdf16 Set dialog folder icon color 2021-09-27 19:10:20 +01:00
Pedro J. Estébanez 6697e380d9 Fix check for freed object during cast 2021-09-27 19:46:49 +02:00
Rémi Verschelde 65ab9130e1
Merge pull request #53136 from akien-mga/3.x-cherrypicks 2021-09-27 19:35:43 +02:00
SaracenOne c6387e58e9 Fixes naming conflict in GLTF importer 2021-09-27 18:07:50 +01:00
Rémi Verschelde abe0535fc0
Revert "Load assets before enabling editor plugins"
This reverts commit 55f9ae3d21.

It caused regressions #52968 and #52995.
2021-09-27 18:28:01 +02:00
Rémi Verschelde ac01b1cb1c
Revert "Fixes the normals of SphereMesh when the sphere/hemisphere is oblong"
This reverts commit c4d0074aae.

It caused regression #52965.
2021-09-27 18:27:55 +02:00
BimDav 9de9994444
Reload kinematic shapes when changing PhysicsBody mode to Kinematic
Prevents a crash when calling test_body_motion. Call reload_kinematic_shapes
from init_kinematic_utilities as they are always called together.

(cherry picked from commits 112985c5bc
and 3540e716f9)
2021-09-27 18:10:30 +02:00
Matthew Newall e01d609c02
Updated Tabs to not update excessively
(cherry picked from commit 082f924566)
2021-09-27 18:09:47 +02:00
David Socha b05f70fe6e
export "Keep" import option when multiple files are selected
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit ec9f9f72e2)
2021-09-27 18:06:55 +02:00
Michael Alexsander b4d6afb7ad
Expose `TabContainer`'s tab hidding for scripts
(cherry picked from commit 7ce02b642e)
2021-09-27 18:06:36 +02:00
kobewi e0f46c2b38
Add a special case for 0-time interpolations
(cherry picked from commit 5c1195e456)
2021-09-27 18:06:08 +02:00
Rémi Verschelde e2b2319ee5
CI: Build test binaries with debug symbols, then strip
This allows having good stacktraces when the tests crash.

(cherry picked from commit c4fa301b6b)
2021-09-27 18:03:39 +02:00
Rémi Verschelde 4f734c15a4
nanosvg: Sync with upstream ccdb199
Includes fixes for a memory corruption bug (CVE-2019-1000032)
and possible division by zero.

(cherry picked from commit 05b28b66ea)
2021-09-27 17:59:04 +02:00
skyace65 370fa82b2c
Add note that for _gui_input(event) event position is relative to the control origin
(cherry picked from commit 824259aca0)
2021-09-27 17:57:50 +02:00
Rémi Verschelde 29b1d39c51
Merge pull request #53105 from aaronfranke/3.x-fix-gltf-light 2021-09-27 16:18:43 +02:00
Jordan Schidlowsky 3b43dfee11 [Net] ENet poll now only service the connection once.
It used to call `enet_host_service` until all events were consumed, but
that also meant constantly polling the connection leading to potentially
unbounded processing time.

It now only service the connection once, and instead consumes all the
retrieved events via `enet_host_check_events`.
2021-09-27 10:15:41 +02:00
Jordan Schidlowsky 25636f8db7 [Net] ENet now sends fragmented packets unreliably too.
It used to always send them reliably when transfer mode was unreliable
or ordered if the packet size was more then the enet host MTU (1400
bytes by default).

This commit also adds a warning when debug is enabled to explain the
effects of sending fragmented packets unreliably.
2021-09-27 10:15:34 +02:00
Aaron Franke 674cb947ea
[3.x] Fix GLTF light import 2021-09-26 21:57:03 -05:00
Rémi Verschelde 8fb06b45d1
Merge pull request #53015 from timothyqiu/cast-crash 2021-09-26 12:05:38 +02:00
Haoyu Qiu 8a47fe9eb0 Fix crash when casting from null 2021-09-26 10:08:14 +08:00
Rémi Verschelde 7893dd26df
Merge pull request #53068 from Razoric480/apply-new-signal 2021-09-25 22:13:08 +02:00
Francois Belair 885d905b0d Make LSP send applyEdit to connect editor signals 2021-09-25 15:22:28 -04:00
Hugo Locurcio 1ff98bfa1b
Add history navigation in the script editor using extra mouse buttons
This feature is enabled by default, but it can be disabled in the editor
settings in case it interferes with other uses of the extra buttons
(such as push-to-talk in a VoIP program).
2021-09-25 20:33:57 +02:00
Michael Alexsander da265c6ceb Make mirror button in Template Manager use the lighter version of its icon 2021-09-25 15:15:58 -03:00