Commit graph

34364 commits

Author SHA1 Message Date
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
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
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
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
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
lawnjelly
a300505066 Prevent drawing MultiMesh with zero instance count
Issuing a driver drawcall for MultiMesh with zero instances crashes some drivers.
2022-09-15 13:20:12 +01:00
Rémi Verschelde
5600be9571
Merge pull request #63085 from m4gr3d/update_android_editor_menus_3x
[3.x] Disable menus and functionality that are not relevant on the Android Editor port
2022-09-13 23:59:41 +02:00
Fredia Huya-Kouadio
1f23bac645 Disable menus and functionality that are not relevant on the Android Editor port 2022-09-13 07:38:07 -07:00
Rémi Verschelde
fd1af84bf5
Merge pull request #64358 from kleonc/sprite-frames-dialog-deselect-frame-lmb-3x 2022-09-13 10:41:41 +02:00
Rémi Verschelde
faafde7e83
Merge pull request #65683 from m4gr3d/update_editor_versioning_3x 2022-09-13 10:38:37 +02:00
Fredia Huya-Kouadio
da332d69c0 Exclude small screens from the set of supported devices. 2022-09-12 08:00:23 -07:00
Fredia Huya-Kouadio
f37390cbc5 Update the versioning logic for the Godot Android Editor
This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
2022-09-12 07:59:45 -07:00
Rémi Verschelde
a10c2d4a38 Merge pull request #65686 from lawnjelly/portals_show_raycast
Portals - Show RayCast debug helper
2022-09-12 11:34:25 +02:00
Rémi Verschelde
f6d3a78921 Merge pull request #65684 from lawnjelly/portals_debug_helper_doc
Portals - clarify docs VisualInstances only
2022-09-12 11:34:15 +02:00
Rémi Verschelde
5ff2c773aa Merge pull request #65663 from lawnjelly/vital_updates_animated_sprite
Low priority redraw request for AnimatedSprite
2022-09-12 11:33:14 +02:00
lawnjelly
09befec1ed Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-12 06:46:48 +01:00