Commit Graph

1999 Commits

Author SHA1 Message Date
0117097bb6 Fixed compile. 2022-10-08 17:56:50 +02:00
42ff9cf8bc Ported: Improve %f formatting for inf and nan.
- MarcusElg
e9cbe9517b
2022-10-08 17:53:43 +02:00
LunaticInAHat
8e301d27ba GLTF import external images correctly 2022-10-08 17:48:32 +02:00
The Tophat Demon
3b7eb818e3 GLTF imports & exports material texture filters 2022-10-08 17:48:13 +02:00
25d8fbdba4 Ported: visual instance layers are regarded during shadow culling.
todo: setting Camera cull_mask should mark affected shadows dirty somehow
- markusneg
16517ecb3d
2022-10-08 17:47:22 +02:00
Haoyu Qiu
f693b632fe Fix crash executing MultiMesh.reset_instance_physics_interpolation 2022-10-08 17:35:34 +02:00
44381ae1d2 Ported: Change auto to default in cursor css settings.
- jasonwinterpixel
6812e66f33
2022-10-08 17:34:43 +02:00
Haoyu Qiu
a1ec0dca97 Make it clear that obstacles don't affect pathfinding 2022-10-08 17:32:56 +02:00
Haoyu Qiu
556b7564cd Center icons vertically in editor docs' hierarchy 2022-10-08 17:32:36 +02:00
Haoyu Qiu
4bff335622 Improve StaticBody description 2022-10-08 17:32:14 +02:00
Josh Anthony
d03711f58a update messaging for focus to be less keyboard-specific
address comments

Put back missing keyboard tags, fix language to match master's version.

match suggested commits from master
2022-10-08 17:31:36 +02:00
Rémi Verschelde
a04ae000eb HTML5: Add missing OS::get_cursor_shape() implementation
Fixes #66835.
2022-10-08 17:31:11 +02:00
2c225f79fb Ported "Fix GDScript export hint for Navigation2D layer names - smix8" for cscript aswell. 2022-10-08 17:30:43 +02:00
smix8
f7f386b697 Fix GDScript export hint for Navigation2D layer names 2022-10-08 17:29:21 +02:00
Hugo Locurcio
97219f5982 Document editor settings in the class reference 2022-10-08 17:28:57 +02:00
smix8
1c0898763c Fix avoidance calculation on NO_THREADS build 2022-10-08 17:24:55 +02:00
Waridley
16285d52a6 Support multiline strings in buttons 2022-10-08 17:06:51 +02:00
Rémi Verschelde
a353560086 Debugger: Clear stack dump on execution stop
Fixes #34198.
2022-10-08 17:05:21 +02:00
Haoyu Qiu
30a24e864f Fix NavigationObstacle not estimating radius 2022-10-08 17:04:48 +02:00
Haoyu Qiu
dbd2b16a35 Fix NavigationObstacle not registering to default navigation map 2022-10-08 17:04:14 +02:00
Michael Alexsander
a3ed238e40 Port Input.action_press/release() changes 2022-10-08 17:02:11 +02:00
bruvzg
3c49c13d1a Fix WM_CHAR processing code using Unicode char instead of Virtual key. 2022-10-08 17:00:48 +02:00
Micky
042b592de5 Fix crash when ScriptEditor accesses Script with no language set 2022-10-08 16:59:54 +02:00
smix8
ec3d97dda5 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-10-08 16:58:45 +02:00
182dbce670 Fix compile. 2022-10-08 16:57:21 +02:00
Micky
0097a77afd Add type icons to editor docs' hierarchy
Backport of #64847 and #65248
2022-10-08 16:53:43 +02:00
Micky
4b36329881 Make "Access as Unique Name" a shortcut
Backport of #65134
2022-10-08 16:52:42 +02:00
Hugo Locurcio
80fb0b5890 Document Mesh vertex color compression clamping overbright/HDR colors 2022-10-08 16:50:28 +02:00
Hugo Locurcio
2d2615e0ea 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-10-08 16:50:02 +02:00
Rémi Verschelde
43de2b9ecc Style: Ensure consistent formatting with clang-format 15 2022-10-08 16:48:59 +02:00
bruvzg
160462c57b Simplify code signing options, add support for rcodesign tool for signing and notarization. 2022-10-08 16:37:21 +02:00
lawnjelly
98c32bb3e7 Improve signal already connected error message
The signal already connected message is improved to provide the names of the objects involved.
2022-10-08 16:34:51 +02:00
Hugo Locurcio
e315a93f87 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-10-08 16:34:07 +02:00
kobewi
903c9932e5 Don't store frame of playing AnimatedSprite 2022-10-08 16:33:38 +02:00
Ricardo Buring
9762395888 Document behavior of areas with concave shapes 2022-10-08 16:33:14 +02:00
Rémi Verschelde
b6f7c4b12c libpng: Update to upstream 1.6.38
(cherry picked from commit 0f2dc5c5e17679be85a1bb7ee7a5ec6a1dbac8b9)
2022-10-08 16:32:35 +02:00
Rémi Verschelde
36356df17e 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 d432fe38a9a65b9e84964a7393c9fe4ce22361a3)
2022-10-08 16:28:01 +02:00
kobewi
b97535aead Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e095125661efb5a0254f36e73197cd9)
2022-10-08 16:23:45 +02:00
smix8
8be98b9138 Exclude disabled CollisionShapes from Navigationmesh baking
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.

(cherry picked from commit 534ff93b05446f5692bcee95f51400c211b080ff)
2022-10-08 16:23:20 +02:00
Voylin
cceba8f6ef Fixes doc/Makefile fails if path contains spaces
(cherry picked from commit 0fd29f76a239a926684dccbfbfe904cf6494690b)
2022-10-08 16:22:55 +02:00
Ted Spikes
f66c0b7d91 Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723be5ca594547074d01dd92e5bf35e9c)
2022-10-08 16:22:25 +02:00
Martin Liska
900b76545e 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 a648d831a9e4175db3b333e6416e2cf3be9959ef)
2022-10-08 16:21:54 +02:00
Michael Alexsander
6730fc8f0f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2)
2022-10-08 16:21:25 +02:00
dzil123
ace2a22838 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee9099457a7e582ad785f5134a86ed1f8fac5)
2022-10-08 16:20:50 +02:00
kobewi
9607de4c8e Add more clarifications about Tween processing
(cherry picked from commit 038cb677cbde3adcc692296b3113398cd351f9fe)
2022-10-08 16:20:23 +02:00
Rémi Verschelde
fe5d1cc8ff 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 35a15e619161798820b2bd6ff46178c5b7ccebcf)
2022-10-08 16:18:23 +02:00
Haoyu Qiu
33e7f7d411 Fix typo in CollisionObject documentation 2022-10-08 16:17:34 +02:00
67b7c1689f Fix compile. 2022-10-08 16:15:55 +02:00
lawnjelly
cd68b6e1e2 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-10-08 16:13:50 +02:00
kleonc
4da6c31ba9 SpriteBase3D Fix drawing AtlasTextures with vertical margins differently than in 2D 2022-10-08 16:09:18 +02:00