Commit graph

34810 commits

Author SHA1 Message Date
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
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
lawnjelly
dcf52103a6 Portals - clarify docs VisualInstances only
Makes it more clear in the documentation that some debugger features are expected not to show when portals are active.
2022-09-12 06:29:55 +01:00
lawnjelly
54a939a029 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-11 19:09:07 +01:00
Rémi Verschelde
13d99d1676
Merge pull request #65568 from YuriSizov/docs-theme-no-param-woes-3.x 2022-09-09 16:11:21 +02:00
Rémi Verschelde
46104d4886 i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit 26a28d6bbd)
2022-09-09 14:51:33 +02:00
Rémi Verschelde
74097dc3ab i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 367ffd10c8)
2022-09-09 14:51:14 +02:00
Rémi Verschelde
2aee09c6bc
Merge pull request #65428 from lawnjelly/input_uninit 2022-09-09 14:28:06 +02:00
Rémi Verschelde
d52a25fdec CI: Downgrade Emscripten to 3.1.18
Emscripten 3.1.19 and 3.1.20 have a showstopping regression that breaks
calling our main function for the editor build.

(cherry picked from commit b353336037)
2022-09-09 14:25:26 +02:00