Commit graph

33466 commits

Author SHA1 Message Date
Eryk Dwornicki
aa42e8920b Move removal of the constraints from bodies to Joint3DSW destructor
Joint3DSW instances are also destroyed without explicitly calling free()
for example when changing constrainted bodies at runtime using
set_node method.
2021-02-27 20:52:01 +01:00
Yuri Roubinsky
e3131adc1c Fix GraphEdit connects when graph is zoomed/unzoomed 2021-02-27 20:26:35 +03:00
Eryk Dwornicki
519e314bea Fixed bug that caused collision not to be properly reenabled when joint between two bodies is destroyed 2021-02-27 17:11:15 +01:00
Rémi Verschelde
0e8fae1038
Merge pull request #46457 from m4gr3d/fix_invalid_missing_templates_error_master
Fix invalid missing template error when the Android build template is not installed
2021-02-27 16:52:25 +01:00
Rémi Verschelde
8870bc7fd0
Merge pull request #46453 from m4gr3d/loosen_restrictions_on_plugin_loading
Update the logic to load Godot Android plugins packaged into the binary.
2021-02-27 16:46:34 +01:00
Rémi Verschelde
21609c3bfd
Merge pull request #46470 from Faless/net/4.x_enet_timeout
Add set_peer_timeout to NetworkedMultiplayerENet.
2021-02-27 16:45:29 +01:00
Rémi Verschelde
8abc79e909
Merge pull request #46473 from angad-k/PathFollow2D-unit-test
Fix some initializations in PathFollow2D's unit test
2021-02-27 16:44:40 +01:00
Angad Kambli
eee850dd9e fix initializations of node Path2D unit tests 2021-02-27 20:59:11 +05:30
Rémi Verschelde
213ea175c3
Merge pull request #44974 from Gorgonx7/master
Initial tests for geometry3D
2021-02-27 14:59:33 +01:00
James Gordon
a26d4b1727 Added test file and test cases 2021-02-27 13:16:04 +00:00
Fabian
1b54de3039 Add set_peer_timeout to NetworkedMultiplayerENet. 2021-02-27 12:52:12 +01:00
Rémi Verschelde
9b6c3a8719
Merge pull request #46459 from KoBeWi/bruh
Don't check modified time if file doesn't exist
2021-02-27 08:30:57 +01:00
Ignacio Roldán Etcheverry
ffc7d0a2d6
Merge pull request #42588 from aaronfranke/cs-instance-generic
Add generic support to PackedScene.Instance in C#
2021-02-27 02:51:05 +01:00
kobewi
af069109be Don't check modified time if file doesn't exist 2021-02-26 23:18:50 +01:00
Fredia Huya-Kouadio
6f0ca6c9f7 Fix invalid missing template error when the Android build template is not installed. 2021-02-26 12:31:12 -08:00
Rémi Verschelde
7b685a1558
Merge pull request #46452 from hilfazer/click_mesh_instance_crash_40
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 21:00:12 +01:00
hilfazer
1810654369 Prevent crash when clicking Mesh in MeshInstance when is scene root 2021-02-26 19:28:09 +01:00
Fredia Huya-Kouadio
6fd881e43c Update the logic to load Godot Android plugins packaged into the binary.
The previous logic had the side effect of imposing a limit of one plugin per `aar` binary. The update lifts that restriction.
2021-02-26 08:38:39 -08:00
Rémi Verschelde
75d03f1fbd
Merge pull request #46446 from Faless/js/4.x_jsdoc
[HTML5] Document Engine and EngineConfig (jsdoc).
2021-02-26 15:31:44 +01:00
Rémi Verschelde
40a70f1657
Merge pull request #46449 from Faless/js/4.x_editor_html_scons4
[HTML5] Make editor HTML build tag scons4-proof.
2021-02-26 15:22:37 +01:00
Fabio Alessandrelli
4404eb57e4 [HTML5] Make editor HTML build tag scons4-proof.
We used to have it like `$GODOT_VERSION` which caused inconsistencies
between different scons versions when substituting it.
It's now `@GODOT_VERSION@`, which is safe on both scons3 and scons4.
2021-02-26 15:08:47 +01:00
Tomasz Chabora
8df22a03c4 Allow to create a node at specific position 2021-02-26 14:40:28 +01:00
Rémi Verschelde
7bb0d39da4
Merge pull request #46327 from hilfazer/prevent_change_type_on_foreign_nodes
Prevent 'Change Type' on nodes from a foreign scene
2021-02-26 14:37:14 +01:00
Rémi Verschelde
6c75e814c3
Merge pull request #46448 from KoBeWi/savenexit
Save ProjectSettings on editor restart
2021-02-26 14:35:27 +01:00
Rémi Verschelde
4ddf5caa90
Merge pull request #46447 from Faless/fix/4.x_threaded_array
Fix ThreadedArrayProcessor init when NO_THREADS.
2021-02-26 14:34:58 +01:00
kobewi
59e1c007a7 Save ProjectSettings on editor restart 2021-02-26 13:33:08 +01:00
Fabio Alessandrelli
dfbeb5ae29 Fix thread_process_array when NO_THREADS. 2021-02-26 12:13:20 +01:00
Fabio Alessandrelli
472482013e [HTML5] Add jsdoc2rst tool.
A template for `jsdoc` that generat the HTML5 public classref.

The script can be run via `npm run docs` to print to stdout.

You can dry run via `npm run docs -- --d dry-run` or write to file via
`npm run docs -- -d /path/to/file.rst`

Also update Makefile in `doc/` and add dry run test to CI.
2021-02-26 11:33:59 +01:00
Fabio Alessandrelli
018ee5a4dc [HTML5] Document Engine and EngineConfig (jsdoc).
This commit also removes the utils.js engine file, moving some of it's
content to config.js and some to engine.js .
2021-02-26 11:33:59 +01:00
Rémi Verschelde
d7e6c20c82
Merge pull request #46443 from timothyqiu/doc-bsearch
Fixes typo in Array::bsearch_custom doc
2021-02-26 11:28:32 +01:00
Haoyu Qiu
31243e377f Fixes typo in Array::bsearch_custom doc 2021-02-26 18:01:08 +08:00
Rémi Verschelde
d02535f509
Merge pull request #46429 from VedatGunel/add-guide-outline
Add outline to dragged guide text
2021-02-26 10:53:50 +01:00
Rémi Verschelde
9e995e081e
Merge pull request #46432 from nmrkr/uncreatable-type-scene-load
Fix crash when loading a scene containing an uncreatable type
2021-02-26 07:51:28 +01:00
Rémi Verschelde
1f702e35d8
Merge pull request #46430 from kuruk-mm/fix_profile_type
SCons: Fix profile type. It is a string
2021-02-26 07:44:50 +01:00
hilfazer
e28cc34db8 Prevent 'Change Type' on nodes from an instanced scene 2021-02-26 07:18:21 +01:00
Aaron Franke
3f50954ced
Add generic support to PackedScene.Instance 2021-02-25 20:49:22 -05:00
Vedat Günel
929da94e2c Add outline to dragged guide text 2021-02-26 03:12:50 +03:00
Delf Neumärker
04a4828c5e
Fix crash when loading a scene containing an uncreatable type 2021-02-25 23:58:30 +01:00
Mateo Kuruk Miccino
42f6d7a401 SCons: Fix profile type. It is a string 2021-02-25 19:45:36 -03:00
Rémi Verschelde
94f78f276b
Merge pull request #45061 from razonixx/Add_warning_when_dir_is_inaccesible
Add descriptive error message when trying to access a dir fails
2021-02-25 22:39:59 +01:00
Rémi Verschelde
f3f6c62b14
Merge pull request #46424 from RandomShaper/fix_no_threads
Fix SafeNumeric::conditional_increment() for NO_THREADS
2021-02-25 22:31:32 +01:00
Rémi Verschelde
b7b70004bc
Merge pull request #46379 from ThakeeNathees/signal-idf-not-found-fix
GDScript: False positive "Identifier not found" error on signals fixed
2021-02-25 22:30:22 +01:00
Carlos Cabello
edb8c11970 Add descriptive error message when trying to access a dir fails 2021-02-25 22:24:21 +01:00
Pedro J. Estébanez
b1edb69249 Fix SafeNumeric::conditional_increment() for NO_THREADS 2021-02-25 21:22:01 +01:00
Rémi Verschelde
3ad5aa8ce3
Merge pull request #43279 from Calinou/doc-opensimplexnoise-seamless-contrast
Document seamless noise having a lower contrast than non-seamless noise
2021-02-25 21:18:59 +01:00
Rémi Verschelde
6ef0538f18
Merge pull request #38929 from touilleMan/exit-status-on-godot-error
Fix Godot returned status code on unexpected error
2021-02-25 21:16:34 +01:00
kleonc
b59a06da25 Make Color::from_hsv use Color::set_hsv 2021-02-25 19:50:43 +01:00
Emmanuel Leblond
60d2c1fd47
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead 2021-02-25 18:34:50 +01:00
Hugo Locurcio
2e8e6e26a8 Document seamless noise having a lower contrast than non-seamless noise
See #41787.
2021-02-25 18:33:11 +01:00
Rémi Verschelde
494e1cb148
Merge pull request #38918 from EricEzaM/fix-slider-focus-on-scroll-input
Fixed issue with slider focus and scroll input
2021-02-25 18:09:04 +01:00