Commit graph

34728 commits

Author SHA1 Message Date
Rémi Verschelde
2cc8ea55ff
Merge pull request #66480 from YeldhamDev/wwe_very_raw
Port `Input.action_press/release()` changes
2022-09-27 09:15:56 +02:00
Michael Alexsander
6f0c852c9b Port Input.action_press/release() changes 2022-09-26 22:25:10 -03:00
Hugo Locurcio
6d0d9037cd
Fix debanding strength being affected by environment adjustments 2022-09-26 14:46:09 +02:00
Rémi Verschelde
2157c50d17
Merge pull request #66298 from Mickeon/3.x-language-stroke 2022-09-25 11:04:53 +02:00
Rémi Verschelde
c5c5abeaa7
Merge pull request #66314 from bruvzg/win_fix_wm_char_keysym3
[Windows, 3.x] Fix WM_CHAR processing code using Unicode char instead of Virtual key.
2022-09-24 22:59:56 +02:00
bruvzg
77fc88e9a6 [Windows, 3.x] Fix WM_CHAR processing code using Unicode char instead of Virtual key. 2022-09-23 20:22:05 +03:00
Micky
eccc802d7e [3.x] Fix crash when ScriptEditor accesses Script with no language set 2022-09-23 13:58:31 +02:00
Rémi Verschelde
24ebc32126
Merge pull request #61841 from markusneg/cull-masked-shadows 2022-09-23 09:43:20 +02:00
Rémi Verschelde
2efed1e206
Merge pull request #66262 from smix8/navigation_fix_tilemap_offset_3.x 2022-09-22 20:36:13 +02:00
smix8
881e49c375 Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node
The legacy navigation was positioning baked TileMap navpolygons relative to the current Navigation2D node assuming that it is usually one of the parent nodes.

Without the deprecated Navigation2D node the default navigation map of the world_2d is used. This navigation map has no relative Node2D so it needs to use the global_transform of the TileMap to place navregions with the correct offset in case the TileMap is moved from the origin.
2022-09-22 17:14:51 +02:00
Andrew Dunai
1af4ba04cd
Fix "!script_data is true" when updating placeholder scripts for GDNative libraries
Co-authored-by: geekrelief <geekrelief@gmail.com>
2022-09-22 15:10:53 +03:00
Rémi Verschelde
8a6763cf74
Merge pull request #66216 from Calinou/windows-enable-ansi-escape-codes-3.x 2022-09-22 09:33:40 +02:00
Rémi Verschelde
ead9ad3a02
Merge pull request #66225 from Calinou/doc-mesh-vertex-color-compress
Document Mesh vertex color compression clamping overbright/HDR colors
2022-09-21 22:27:13 +02:00
Micky
84f0e470a1 [3.x] Add type icons to editor docs' hierarchy
Backport of #64847 and #65248
2022-09-21 22:24:37 +02:00
Micky
9d4bc8528e [3.x] Make "Access as Unique Name" a shortcut
Backport of #65134
2022-09-21 21:31:40 +02:00
Hugo Locurcio
811f814f45
Document Mesh vertex color compression clamping overbright/HDR colors 2022-09-21 20:30:04 +02:00
Hugo Locurcio
257305c58d
Enable ANSI escape code processing on Windows 10 and later
This lets the engine and projects use the same color codes
in the terminal on all platforms.
2022-09-21 17:22:12 +02:00
Rémi Verschelde
6a600b1acd
Merge pull request #66153 from rburing/concave_area_docs_3.x 2022-09-21 13:34:43 +02:00
Rémi Verschelde
0ac4b32607
Merge pull request #66208 from akien-mga/3.x-style-clang-format-15 2022-09-21 13:32:10 +02:00
Rémi Verschelde
f9b91d8d24 Style: Ensure consistent formatting with clang-format 15 2022-09-21 13:23:17 +02:00
Rémi Verschelde
4207983ce9
Merge pull request #66145 from lawnjelly/object_get_name 2022-09-21 12:04:19 +02:00
Rémi Verschelde
3d6523b40d
Merge pull request #66093 from bruvzg/rcs3
[macOS export, 3.x] Simplify code signing options, add support for rcodesign tool for signing and notarization.
2022-09-21 10:30:16 +02:00
bruvzg
47d2b4e732
[macOS export, 3.x] Simplify code signing options, add support for rcodesign tool for signing and notarization. 2022-09-21 10:37:25 +03:00
lawnjelly
17f42e8e66 Improve signal already connected error message
The signal already connected message is improved to provide the names of the objects involved.
2022-09-21 07:52:30 +01:00
Rémi Verschelde
edc196f926
Merge pull request #66063 from kleonc/sprite3d-fix-drawing-with-vertical-margins-3x
[3.x] `Sprite3D`/`AnimatedSprite3D` Fix drawing `AtlasTexture`s with vertical margins differently than in 2D
2022-09-20 23:06:57 +02:00
Hugo Locurcio
76a14cfd02
Expose the "restart on exit" OS functionality
This can be used to restart a project with specific command line arguments
applied. This can work in tandem with `OS.get_cmdline_args()` to restart
with the same command line arguments as used to originally run the project.

Example use cases:

- Restart to apply an user setting change that requires a restart to work.
- Restart with a Godot command line argument to change the video driver,
  audio driver, etc.
2022-09-20 17:27:46 +02:00
kobewi
dbce96abd9 Don't store frame of playing AnimatedSprite 2022-09-20 13:11:50 +02:00
Ricardo Buring
be5d18163d Document behavior of areas with concave shapes 2022-09-20 11:58:27 +02:00
Rémi Verschelde
0784bff4d9
Merge pull request #66147 from akien-mga/3.x-cherrypicks 2022-09-20 11:50:26 +02:00
Rémi Verschelde
00e686b8c1 libpng: Update to upstream 1.6.38
(cherry picked from commit 0f2dc5c5e1)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
5c81213231 SCons: Add methods.get_version_info() method returning a Dict
This makes it possible to retrieve all relevant versioning info used to
generate `core/version_generated.gen.h` in the buildsystem.

Notably it makes the custom logic parsing the `GODOT_VERSION_STATUS`
environment variable to override status easy to reuse.

(cherry picked from commit d432fe38a9)
2022-09-20 10:26:17 +02:00
kobewi
1aee1b1720 Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e)
2022-09-20 10:26:17 +02:00
smix8
ce310c1e39 Exclude disabled CollisionShapes from Navigationmesh baking
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.

(cherry picked from commit 534ff93b05)
2022-09-20 10:26:17 +02:00
Voylin
41e63559bb Fixes doc/Makefile fails if path contains spaces
(cherry picked from commit 0fd29f76a2)
2022-09-20 10:26:17 +02:00
Ted Spikes
4356077153 Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723)
2022-09-20 10:26:17 +02:00
Martin Liska
dd0077b963 Fix building VHACD with GCC 13.
Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

(cherry picked from commit a648d831a9)
2022-09-20 10:26:17 +02:00
Michael Alexsander
13fec0a237 Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:26:17 +02:00
dzil123
c86f4c7f58 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
c8a748e7b6 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:26:17 +02:00
kobewi
577b562428 Add more clarifications about Tween processing
(cherry picked from commit 038cb677cb)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
d5c1baa288 SCons: Refactor handling of production flag and per-platform LTO defaults
Fixup to #63288.
See #65583 for the bug report.

Co-authored-by: Cyberrebell <chainsaw75@web.de>
(cherry picked from commit 35a15e6191)
2022-09-20 10:26:17 +02:00
Rémi Verschelde
713e83ecd7
Merge pull request #65974 from dzil123/highlight_types_incorrect 2022-09-20 10:20:51 +02:00
Rémi Verschelde
89e9c3d991
Merge pull request #66115 from lawnjelly/cpuparticles_set_amount 2022-09-20 08:43:59 +02:00
Matthew
485b2ab45e
Merge pull request #66140 from timothyqiu/in-the-the
[3.x] Fix typo in `CollisionObject` documentation
2022-09-19 22:21:32 -04:00
Haoyu Qiu
4bc1ea0ac4 Fix typo in CollisionObject documentation 2022-09-20 08:55:18 +08:00
lawnjelly
fdd82f4754 CPUParticles initialize data on set_amount
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
2022-09-19 16:53:01 +01:00
kleonc
0a64c2eba5 SpriteBase3D Fix drawing AtlasTextures with vertical margins differently than in 2D 2022-09-18 20:27:23 +02:00
kleonc
0bf2b8e813 Move duplicated drawing code from Sprite3D/AnimatedSprite3D to SpriteBase3D 2022-09-18 20:27:09 +02:00
dzil123
1e4f47ffe0 Fix variables highlighting as types 2022-09-17 01:24:19 -07:00
Clay John
cf157a804f
Merge pull request #65826 from lawnjelly/multimesh2D_zero_amount
Prevent drawing MultiMesh with zero instance count
2022-09-15 08:48:45 -07:00