Commit graph

28773 commits

Author SHA1 Message Date
Rémi Verschelde 3494270594
Merge pull request #39391 from YeldhamDev/filediag_file_icon
Add generic file icon and its modulation to the 'FileDialog'
2020-06-09 14:11:01 +02:00
Rémi Verschelde 28bd834298
Merge pull request #39394 from akien-mga/objectdb-cleanup-hints
Core: Add hints to run with --verbose when leaking nodes/resources at exit
2020-06-09 14:10:05 +02:00
Rémi Verschelde 945ed76adb
Merge pull request #39399 from madmiraal/fix-39374
Test collision mask before creating constraint pair in Godot physics broadphase 2D and 3D.
2020-06-09 13:38:05 +02:00
Rémi Verschelde 532942c019
Merge pull request #39411 from madmiraal/update-rigidbody-sleep-docs
Update Rigidbody 2D and 3D sleep documentation.
2020-06-09 13:34:35 +02:00
Marcel Admiraal 1b738a77c1 Update Rigidbody 2D and 3D sleep documentation. 2020-06-09 12:10:11 +01:00
Rémi Verschelde a1c7669bef
Merge pull request #39407 from Calinou/tweak-invalid-export-preset-message
Tweak the invalid preset error message to mention `export_presets.cfg`
2020-06-09 11:09:15 +02:00
Rémi Verschelde 187ba4c5a8 AStar: Make get_closest_point() deterministic for equidistant points
Closes godotengine/godot-docs#3667.
Supersedes #39405.
2020-06-09 11:04:12 +02:00
Hugo Locurcio a7b2f3d41a Tweak the invalid preset error message to mention export_presets.cfg 2020-06-09 10:24:55 +02:00
Marcel Admiraal a442526744 Test collision mask before creating constraint pair in Godot physics broadphase 2D and 3D. 2020-06-08 17:46:21 +01:00
Rémi Verschelde 2b5545270a Core: Add hints to run with --verbose when leaking nodes/resources at exit 2020-06-08 16:48:21 +02:00
Michael Alexsander 637927f803 Add generic file icon and its modulation to the 'FileDialog' 2020-06-08 10:31:45 -03:00
Rémi Verschelde 201d5a7fc5
Merge pull request #39389 from akien-mga/packedscene-root-aint-got-parents
PackedScene: Prevent crash when root node has `parent` attribute
2020-06-08 14:23:30 +02:00
Rémi Verschelde d9f0477dad
Merge pull request #39385 from akien-mga/lsp-crash-notify_client
GDScript LSP: Fix crash in notify_client
2020-06-08 13:26:51 +02:00
Rémi Verschelde 581dcadf40
Merge pull request #39370 from Anutrix/remove-usused-assimp-var
Removed variables in EditorSceneImporterAssimp::import_scene that became unused.
2020-06-08 13:22:20 +02:00
Rémi Verschelde f6430eec2c
Merge pull request #39152 from abustin/fbx_mesh_compression_fix_master
Respect 'mesh compression' editor import option in Assimp and glTF importers [master]
2020-06-08 13:16:31 +02:00
Rémi Verschelde 96f3e33a6b
Merge pull request #39386 from akien-mga/variantparser-crash-bad-vectors
VariantParser: Fix crash on malformed vectors
2020-06-08 13:13:44 +02:00
Rémi Verschelde c080ec5da2 PackedScene: Prevent crash when root node has parent attribute
The crash happens further down when setting an invalid owner in
`Node::_set_owner_nocheck` but I couldn't figure out how to fix it.

But here the proper fix is to catch the invalid scene file early on
and fail loading it.

Part of #17372.
2020-06-08 13:07:07 +02:00
Rémi Verschelde e7ebda975a VariantParser: Fix crash on malformed vectors
Each time `r_err_str` is set, we should return a parse error.

Removed redundant `return OK;` which were already handled after the big
`if`/`else if`/`else` for `TK_IDENTIFIER`.

Part of #17372.
2020-06-08 11:38:13 +02:00
Rémi Verschelde e34f33711b GDScript LSP: Fix crash in notify_client
`latest_client_id` now defaults to `-1` (invalid ID) instead of `0`.

Also fix typo in notification `gdscrip_client/changeWorkspace`,
and fix argument names in method binds.

Fixes #39375.
2020-06-08 11:01:45 +02:00
Rémi Verschelde 87b2d3f9cf
Merge pull request #39329 from KoBeWi/capture_the_anim
Restore capture caches when missing
2020-06-08 08:31:01 +02:00
unknown 365c35f30e Removed variables and #include in EditorSceneImporterAssimp::import_scene that became unused after the recent commit ec1bf96(#39363). 2020-06-08 11:59:17 +05:30
Rémi Verschelde 67f56ff73a
Merge pull request #39365 from Calinou/editor-gizmos-visibility-tooltip
Add an editor tooltip to document gizmo visibility options
2020-06-08 08:24:55 +02:00
Rémi Verschelde ba4ae6225b
Merge pull request #39378 from mbrlabs/basis-fix-master
Re-apply basis of newly added node (via drag-n-drop) in editor viewport
2020-06-08 08:23:44 +02:00
Marcus Brummer 41af859c68 Re-apply basis of newly added node (via drag-n-drop) in editor viewport 2020-06-07 22:09:41 +02:00
Tomasz Chabora b426d11d86 Allow duplicating files when holding Control 2020-06-07 21:36:48 +02:00
Aaron Franke 6c2df6792b
Change the default editor camera rotation to position it in +X +Y +Z 2020-06-07 13:36:04 -04:00
Hugo Locurcio 138a4eecb3
Add an editor tooltip to document gizmo visibility options
See discussion in
https://github.com/godotengine/godot-proposals/issues/716.
2020-06-07 18:31:17 +02:00
Rémi Verschelde ec1bf96e41
Merge pull request #39200 from azagaya/fix-blend-2
Fixing wrong blending rect methods
2020-06-07 15:52:22 +02:00
Rémi Verschelde 46d8d60186
Merge pull request #39363 from MCrafterzz/fix38745
Fix 38745: Importing FBX of a non-Unicode encoded path causes Assimp throws error
2020-06-07 15:43:09 +02:00
Marcus Elg 29abbccc5f Fix fbx import assimp error 2020-06-07 15:11:40 +02:00
Rémi Verschelde 8da68fe910
Merge pull request #33858 from Calinou/inspector-layers-add-hover
Add visual feedback when hovering layer checkboxes in the Inspector
2020-06-06 23:20:01 +02:00
Rémi Verschelde e36580428c
Merge pull request #39346 from akien-mga/oidn-fix-vs-2017
oidn: Fix build for VS 2017
2020-06-06 23:18:32 +02:00
Rémi Verschelde ca5519c430
Merge pull request #39342 from akien-mga/denoise-64bit-desktop-only
denoise: Restrict build to 64-bit desktop platforms
2020-06-06 23:18:18 +02:00
Giuliano Barberi d443a13244 Tree: Calling update in _gui_input less frequently 2020-06-06 17:02:22 -04:00
Rémi Verschelde 38a200f1e3 oidn: Fix build for VS 2017
Backporting this upstream patch:
1e42e6db81

Fixes #39186.
2020-06-06 21:27:32 +02:00
Rémi Verschelde 39d84fef89 denoise: Restrict build to 64-bit desktop platforms
One of OIDN's dependencies only supports x86_64 and aarch64.
For now we also exclude potential future Android tools builds,
but this could be re-evaluated in the future.

Fixes #38759.
2020-06-06 21:23:46 +02:00
Rémi Verschelde 23a2b4ab7d
Merge pull request #39341 from JFonS/minor_shader_parsing_fix
Minor fix on GLSL shader parser
2020-06-06 21:21:54 +02:00
Rémi Verschelde d838a44735
Merge pull request #39340 from JFonS/upgrade_oidn
Upgrade OpenImageDenoise to v1.1.0
2020-06-06 20:17:54 +02:00
jfons af3f9a854e Minor fix on GLSL shader parser 2020-06-06 19:53:16 +02:00
jfons dd79d1ce78 Upgrade OpenImageDenoise to v1.1.0
Upgrade OIDN to 1.1.0, the latest stable version that doesn't need
the ISPC compiler.

Documented the changes made during the removal of TBB and added a patch
file for them.
2020-06-06 19:03:16 +02:00
Rémi Verschelde ce1811f9e2
Merge pull request #39338 from Faless/crypto/instantiate_fix
Crypto virtual methods, fix editor crash when mbedtls is disabled
2020-06-06 18:22:42 +02:00
Fabio Alessandrelli 87cc283b8b Crypto as a custom instance class. 2020-06-06 17:33:44 +02:00
Fabio Alessandrelli 054f52364f Fix editor crash when mbedtls is disabled. 2020-06-06 17:33:43 +02:00
Rémi Verschelde 17af010478
Merge pull request #38967 from nekomatata/remote-inspector-builtin-res
Fix dialog spam when inspecting MeshInstance from model file
2020-06-06 16:11:11 +02:00
Tomasz Chabora 642d91381a Restore capture caches when missing 2020-06-05 23:26:25 +02:00
dominiks d2250a2320 Add note about automatic window title to FileDialog documentation. 2020-06-05 22:30:24 +02:00
Rémi Verschelde f54eda121d
Merge pull request #39304 from m4gr3d/enable_focus_awareness
Add support for focus awareness
2020-06-05 12:42:21 +02:00
Rémi Verschelde 50cb781b1b
Merge pull request #39316 from Anutrix/remove-hashmap-reduntant-func
Remove unused function get_key_value_ptr_array from hash_map.h and another tiny fix.
2020-06-05 11:53:54 +02:00
Rémi Verschelde e3db6199b6
Merge pull request #37073 from nodj/improve_2dEditor_zoom
Improve 2d editor zoom
2020-06-05 11:45:06 +02:00
Rémi Verschelde ac2619ec1c
Merge pull request #39298 from Faless/js/keyCode40
Switch HTML5 key detection from keyCode to code.
2020-06-05 11:39:43 +02:00