Commit graph

36833 commits

Author SHA1 Message Date
nikitalita
bc58bf5477 Use constant for reserved field count 2021-07-29 22:24:29 -07:00
nikitalita
160601cc78 Fix binary resource loading and saving 2021-07-29 18:17:49 -07:00
foxydevloper
ae7a74625d Name new resource files with snake_case 2021-07-29 20:53:33 -04:00
Michael Alexsander
a47e48987d Properly tag project files as a subclass of plain text in the MIME info 2021-07-29 19:18:24 -03:00
Michael Alexsander
94a64d557e Add auto_translate toggle for automatic translation 2021-07-29 18:30:34 -03:00
Rémi Verschelde
bdcc8741e4
Merge pull request #51009 from raulsntos/fix-csharp-split
Use `allowEmpty` parameter in Split
2021-07-29 23:04:39 +02:00
Rémi Verschelde
44012fa61d
Merge pull request #51022 from raulsntos/csharp-interpolated-strings
Use C# interpolated strings
2021-07-29 22:12:45 +02:00
merumelu
b8752d91dc makerst: use link titles for external tutorials 2021-07-29 21:55:39 +02:00
foxydevloper
f641327dcf Make drag and drop into viewport add to root node by default
When dragging and dropping a texture, mesh, or scene from the FileSystem into the
2D or 3D viewport, it will be added as a child of the current scene's root node.
2021-07-29 15:47:42 -04:00
kleonc
8a48cb466e SpriteFramesEditor: preserve source texture margins when creating frames from AtlasTexture 2021-07-29 20:18:39 +02:00
reduz
55d357b1eb Fix directional shadow bias
* Simplified code a lot, bias based on normalized cascade size.
* Lets scale cascades, max distance, etc. without creating acne.
* Fixed normal biasing in directional shadows.

I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there.
Will need to be replaced by something else.
2021-07-29 13:51:32 -03:00
Rémi Verschelde
140905df8d
Merge pull request #51024 from Chaosus/clear_processes_ids
Clear debug process identifiers array at `stop()` to prevent invalid checking of them
2021-07-29 18:39:49 +02:00
Rémi Verschelde
8ee7adac1e
Merge pull request #51019 from YeldhamDev/mime_tweaks
Make some small tweaks to the MIME info
2021-07-29 18:21:13 +02:00
Rémi Verschelde
a202947003
Merge pull request #51018 from timothyqiu/colon-in-column
Remove colon from column titles
2021-07-29 18:18:01 +02:00
Yuri Roubinsky
a03af773e8 Clear debug process id at stop() to prevent invalid checking of them 2021-07-29 19:08:15 +03:00
Raul Santos
37d8f8c92b Use C# interpolated strings
Uses interpolated strings wherever possible.
String concatenations are still left where used for breaking long lines.
2021-07-29 17:20:44 +02:00
Michael Alexsander
0218616747 Make some small tweaks to the MIME info 2021-07-29 12:06:35 -03:00
Haoyu Qiu
f9aad98d36 Remove colon from column titles 2021-07-29 22:01:07 +08:00
Rémi Verschelde
0543b71e5a
Merge pull request #51015 from pycbouh/core-texture-webp-crash
Fix a crash when trying to load a WebP `StreamTexture2D`
2021-07-29 15:51:46 +02:00
Yuri Sizov
0ab661de63 Fix a crash when trying to load a WebP StreamTexture2D 2021-07-29 16:05:03 +03:00
Rémi Verschelde
4a3430bd27
Merge pull request #51002 from akien-mga/version-status-env-override
Allow overriding `VERSION_STATUS` with `GODOT_VERSION_STATUS` in env
2021-07-29 14:45:26 +02:00
Rémi Verschelde
5b92f7aac1
Merge pull request #51001 from akien-mga/make_tarball-git-HEAD
Add script to make source tarball with `.git/HEAD`
2021-07-29 14:45:04 +02:00
Raul Santos
b7a66a820b Use allowEmpty parameter in Split 2021-07-29 12:57:35 +02:00
Rémi Verschelde
1c68be9c8f
Merge pull request #50710 from Faless/enet/4.x_refactor 2021-07-29 12:40:04 +02:00
Rémi Verschelde
9a71038e34
Add script to make source tarball with .git/HEAD
This allows to generate the `VERSION_HASH` constant with the Git commit hash
even when building from a source tarball which is not a Git repository (and
without dependency on Git itself).
2021-07-29 11:52:43 +02:00
Rémi Verschelde
948dcb63ca
Allow overriding VERSION_STATUS with GODOT_VERSION_STATUS in env
`VERSION_STATUS` is part of what constitutes the reference version for a given
Godot build, and is part of the version check for compatible export templates.

For dev snapshots (alpha, beta, RCs), we usually set the `VERSION_STATUS` to
a specific build number (e.g. `beta2`), but this change doesn't end up
committed to the Git repository as we don't want to keep changing `version.py`
for testing builds.

So this new environment override will be what can be used in official builds
and by users making custom builds for specific snapshots.
2021-07-29 11:47:53 +02:00
Fabio Alessandrelli
f39547b9bd [Net] Refactor ENetMultiplayerPeer to use ENet wrappers. 2021-07-29 10:59:00 +02:00
Fabio Alessandrelli
42a1777531 [Net] Implement lower level ENet wrappers. 2021-07-29 10:59:00 +02:00
Fabio Alessandrelli
1e8bf86379 [Net] Add generate_unique_id to MultiplayerPeer.
Used by ENetMultiplayerPeer and WebSocketServer to generate network IDs,
and exposed to the user for p2p networks (e.g. WebRTCMultiplayerPeer)
and custom MultiplayerPeer implementations.
2021-07-29 10:40:03 +02:00
Rémi Verschelde
4cfa9bc0f1
Merge pull request #50989 from SirQuartz/patch-35
Fix duplicate shortcut for paint and erase in TileMap editor
2021-07-29 10:04:54 +02:00
Rémi Verschelde
5ece1bd136
Merge pull request #50994 from timothyqiu/open-docs-button
Disable open doc button when not inspecting anything
2021-07-29 09:57:33 +02:00
Haoyu Qiu
80e4c8626d Hide open doc button when not inspecting anything 2021-07-29 15:07:55 +08:00
foxydevloper
07a8f0fe38 Name nodes added from drag & drop by name_casing 2021-07-29 00:29:24 -04:00
Rémi Verschelde
48857194b3
Merge pull request #50981 from Calinou/geometryinstance3d-distance-add-configuration-warnings
Add node configuration warning for GeometryInstance3D distance
2021-07-29 01:39:49 +02:00
Rémi Verschelde
2ae069a97e
Merge pull request #50991 from Faless/mp/4.x_rpc_config_fix
[Net] Fix RPC ID encoding/decoding for Node methods.
2021-07-29 01:28:15 +02:00
Fabio Alessandrelli
fd5a140039 [Net] Fix RPC ID encoding/decoding for Node methods. 2021-07-29 00:00:30 +02:00
Nicholas Huelin
28f45e923c
Fix duplicate shortcut in TileMap Editor
This pull request fixes an issue where the paint and erase tools in the TileMap editor had the same shortcut (E). The erase tool having "E" be its shortcut makes more sense than the paint tool having that be its shortcut. So I changed the paint tool's shortcut to be "D" since nothing else uses it and it's short for "draw", it's also right next to "S" on the keyboard which happens to be the selection tool.
2021-07-28 17:33:17 -04:00
Raul Santos
e23f6a5bba Fix forward calculation in PathFollow3D for the position at the end of the curve 2021-07-28 22:10:36 +02:00
Hugo Locurcio
07dbe2045a
Use bullet points in the editor instead of dashes where relevant 2021-07-28 19:40:45 +02:00
Hugo Locurcio
48fc5b2480
Add node configuration warning for GeometryInstance3D distance 2021-07-28 19:33:14 +02:00
Rémi Verschelde
60eb508fbb
Merge pull request #50961 from YeldhamDev/embed_windows_fixes
Multiple cosmetic fixes for embedded windows
2021-07-28 18:24:07 +02:00
Rémi Verschelde
6849942419
Merge pull request #50577 from Calinou/2d-editor-ruler-improve-display
Improve the 2D editor ruler display
2021-07-28 17:58:46 +02:00
Hugo Locurcio
026aea681d
Improve the 2D editor ruler display
- Use the ° symbol instead of "deg" to reduce clutter.
- Round the displayed lengths to only one decimal instead of two
  to further reduce clutter.
- Don't make the `px` suffix localizable, as it isn't localizable
  anywhere else in the editor.
2021-07-28 16:04:48 +02:00
Rémi Verschelde
7f0a83c129
Merge pull request #50597 from Calinou/3d-editor-improve-manipulation-gizmo
Improve the 3D editor manipulation gizmo
2021-07-28 15:33:24 +02:00
Rémi Verschelde
9f5436c799
Merge pull request #50826 from Calinou/editor-improve-mesh-uv-preview
Improve MeshInstance3D UV preview in the editor
2021-07-28 15:30:29 +02:00
Rémi Verschelde
6256936d77
Merge pull request #50677 from Calinou/doc-image-save-exr-editor-only
Document `Image.save_exr()` only being available in editor builds
2021-07-28 15:29:52 +02:00
Rémi Verschelde
d426523440
Merge pull request #49723 from aaronfranke/fix-csg-sphere
Fix CSGSphere3D mesh creation
2021-07-28 09:02:07 +02:00
Michael Alexsander
79fc188fc4 Multiple cosmetic fixes for embedded windows 2021-07-27 23:55:06 -03:00
Rémi Verschelde
78f0d2d1d6
Merge pull request #50905 from fabriceci/fix-multiple-direction-collision
Allow multiple collision direction at the same time
2021-07-27 19:10:47 +02:00
Rémi Verschelde
ffb519d06a
Merge pull request #50946 from m4gr3d/fix_custom_build_export_master
Fix custom build export
2021-07-27 19:08:17 +02:00