Commit Graph

36251 Commits

Author SHA1 Message Date
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
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
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
Fredia Huya-Kouadio ace6df6947 Fix custom build export 2021-07-27 09:15:45 -07:00
Hugo Locurcio 81d2d2b41a
Highlight context menu items at the top of the 2D/3D viewports
This makes it easier to notice that some menu items only appear when
specific nodes are selected.

This change applies to both 2D and 3D editors, including both plugin-based
menus and the hardcoded 2D layout/animation contextual menus.
2021-07-27 16:45:02 +02:00
Rémi Verschelde b4778082d1
Merge pull request #50939 from vnen/fix-variant-bool-conversion
Change Variant bool conversion to uint8_t
2021-07-27 15:04:20 +02:00
Rémi Verschelde 0f38fa2e0c
Merge pull request #50931 from Faless/fix/4.x_enum_cast
[Core] Make enum variant cast and encoding 64 bits
2021-07-27 14:05:13 +02:00
George Marques 84c37423fb
Change Variant bool conversion to uint8_t
This ensures more portable conversion since not every path assume bool
is 32-bits and there's no loss converting to 8-bits anyway.
2021-07-27 09:00:56 -03:00
Rémi Verschelde 0f7b7bcbce
Merge pull request #50836 from Calinou/3d-editor-camera-preview-add-shortcut
Add shortcut to toggle the 3D editor's camera preview
2021-07-27 13:34:10 +02:00
Rémi Verschelde 1777d8008e
Merge pull request #50913 from Razoric480/lsp-SymbolKind-fix
Fix LSP reporting wrong types
2021-07-27 13:32:41 +02:00
Rémi Verschelde 41013e4f9a
Merge pull request #50933 from JFonS/gizmo_rework_improvements 2021-07-27 13:19:46 +02:00
Rémi Verschelde d3d24d3821
Merge pull request #50912 from Chaosus/fix_editor_3d_icon_theme_changing
Fix icon colors in 3d editor on theme changing
2021-07-27 13:06:15 +02:00
vitika9 22eaec6895 Fixed Camera2D's reset_smoothing() does not work as described 2021-07-27 16:29:30 +05:30
jfons d7b58ebc9c Fixes to editor subgizmos
* Fixed subgizmo editing on scaled nodes.
* Added more clarifications on the coordinate space of subgizmos.
* Given input priority to the transform gizmo over subgizmo selection.
2021-07-27 12:55:57 +02:00
Fabio Alessandrelli 95088f6bfa [Core] Make enum variant cast and encoding 64 bits
This should fix various issues where retrieving enum values from
scripting languages would result in corrupted values (where 32 bits
were valid, and the other 32 random data).
2021-07-27 12:29:03 +02:00
Rémi Verschelde 77ca5e7b21
Merge pull request #50928 from Vitika9/50850
Removed Redundant assignement of name inside configure_joypad function
2021-07-27 11:49:36 +02:00
vitika9 1add8b3172 Removed Redundant assignement of name inside configure_joypad function 2021-07-27 14:51:42 +05:30
K. S. Ernest (iFire) Lee 2fa4b59f99
Merge pull request #50355 from Calinou/immediategeometry3d-remove-remains
Remove the remains of ImmediateGeometry3D
2021-07-27 00:54:23 -07:00
Rémi Verschelde 7cbdb9b4c3
Merge pull request #50917 from raulsntos/more-iterators 2021-07-27 08:05:15 +02:00
Rémi Verschelde ae1b124e14
Merge pull request #50925 from timothyqiu/internal-checks
Add checks to internal methods to prevent crash
2021-07-27 07:51:36 +02:00
Haoyu Qiu 448295cd51 Add check to internal methods to prevent crash 2021-07-27 12:26:13 +08:00
Ignacio Roldán Etcheverry 8ff29d1879
Merge pull request #50918 from raulsntos/fix-39432
Ignore paths with invalid chars in PathWhich
2021-07-27 05:39:19 +02:00
Raul Santos d636ebbfe9 Ignore paths with invalid chars in PathWhich 2021-07-27 04:16:20 +02:00
Raul Santos 3fe67fb5ad Use C++ iterators in the Mono module 2021-07-27 02:48:28 +02:00
Raul Santos c8a94a621d Fix Set range iterator implementation 2021-07-27 02:48:28 +02:00