Commit graph

28636 commits

Author SHA1 Message Date
Victoria Fisher
718221a2ff
Adds full description for AudioEffectRecord.xml 2020-06-11 02:32:51 -04:00
Yuri Roubinsky
c2b43403b4
Merge pull request #39438 from Chaosus/fix_custom_property_editor
Fix custom property editor layout
2020-06-11 08:30:04 +03:00
Rémi Verschelde
ffbea8aad1
Merge pull request #38508 from RandomShaper/fix_cleanup_info
Fix potential crash when listing leaked objects
2020-06-10 21:49:08 +02:00
Pedro J. Estébanez
4e4b1d7568 Fix potential crash when listing leaked objects
Note:
Casting to the C++ classes and calling the methods there would work as well,
but would require including he header files for the specific object types handled
here, which wouldn't be OK either.
2020-06-10 20:44:11 +02:00
Yuri Roubinsky
f6ed465613 Fix custom property editor layout 2020-06-10 18:03:32 +03:00
Rémi Verschelde
cb3ca99b13
Merge pull request #39430 from Calinou/doc-3d-light-radius
Improve the 3D light documentations
2020-06-10 16:41:18 +02:00
Rémi Verschelde
1aeb88205d
Merge pull request #37248 from Xrayez/env-dump
SCons: Dump construction environment to a file
2020-06-10 15:20:59 +02:00
Andrii Doroshenko (Xrayez)
42bee75e86 SCons: Dump construction environment to a file
A new `methods.dump(env)` is added to dump the construction environment
used by SCons to build Godot to a `.scons_env.json`. The file can be used
for debugging purposes and any external tool.
2020-06-10 15:05:43 +03:00
Rémi Verschelde
1760c13db9
Merge pull request #39431 from Calinou/contributing-documentation
Document the requirement to update the class reference when contributing
2020-06-10 13:34:46 +02:00
Hugo Locurcio
f7e21d8e88 Improve the 3D light documentations
See https://github.com/godotengine/godot-docs/issues/3670.
2020-06-10 11:19:11 +02:00
Rémi Verschelde
8b79f2aad4
Merge pull request #39350 from giulianob/improve-tree-redraw
Tree: Calling update in _gui_input less frequently
2020-06-10 10:49:54 +02:00
Rémi Verschelde
f25f0c54d6
Merge pull request #39390 from mrushyendra/duplicate_signals_master
Fix signal duplication bug when duplicating node with instanced children
2020-06-10 10:47:17 +02:00
Rémi Verschelde
47f1faf512
Merge pull request #39409 from akien-mga/astar-get_closest_point-deterministic
AStar: Make get_closest_point() deterministic for equidistant points
2020-06-10 10:46:35 +02:00
Rémi Verschelde
a7d0ed9725
Merge pull request #39413 from akien-mga/doc-file-store-signed-ints
doc: Make File store/get integer methods clearer
2020-06-10 10:45:04 +02:00
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
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