Commit graph

28836 commits

Author SHA1 Message Date
Rémi Verschelde 7c48155bbb
Merge pull request #39423 from Phischermen/fix-new-text-file-crash
Fix crash when creating new text file with no name
2020-06-10 10:43:23 +02:00
Rémi Verschelde abae0757ac
Merge pull request #39424 from YeldhamDev/scene_root_select
Fix scene tree showing up when the root selection is present
2020-06-10 10:38:22 +02:00
Hugo Locurcio 6d0e8f9fb7 Document the requirement to update the class reference when contributing
Documenting new additions has been an informal requirement for
a few months now. This makes it official.
2020-06-10 10:36:59 +02:00
Rémi Verschelde 60db9f906c
Merge pull request #39429 from Calinou/doc-dictionary-hash-order
Mention ordering caveats for `Dictionary.hash()`
2020-06-10 10:36:43 +02:00
Hugo Locurcio 77b89263dd Mention ordering caveats for Dictionary.hash()
See https://github.com/godotengine/godot/issues/27615.
2020-06-10 09:33:43 +02:00
Michael Alexsander f30e4dbf54 Fix scene tree showing up when the root selection is present 2020-06-09 19:06:15 -03:00
Rémi Verschelde cd25d184a5 doc: Make File store/get integer methods clearer
Add an example on how to store signed integers on less than 64 bits,
using one bit for the signedness.
2020-06-09 23:26:10 +02:00
Phischermen cdb29447b4 Fix crash when creating new text file with no name 2020-06-09 12:59:59 -07:00
Maganty Rushyendra a2392039af Fix signal duplication bug when duplicating node with instanced children
Change error checking in `duplicate_signals()` to check for path to
`p_original`, thus adhering to the method used in `duplicate`, instead
of checking for ownership.
2020-06-09 21:24:05 +08:00
Rémi Verschelde ae21b5ddad
Merge pull request #39372 from aaronfranke/editor-cam-rot
Change the default editor camera rotation to position it in +X +Y +Z
2020-06-09 14:11:30 +02:00
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