Commit Graph

770 Commits

Author SHA1 Message Date
53fcf8b2d3 Cleaned GLTFDocumentExtensionConvertImporterMesh too. 2022-08-08 00:43:26 +02:00
5e5ae40009 Cleaned up GLTFDocumentExtension aswell. 2022-08-08 00:39:35 +02:00
2f9608aa65 GLTFState is also in the build now. 2022-08-08 00:23:19 +02:00
435a59947a Cleaned up and added GLTF helper methods to the build. 2022-08-08 00:20:08 +02:00
5ac0285ea4 More fixes. 2022-08-07 22:53:31 +02:00
cda00a7b80 Fixed most includes. 2022-08-07 21:52:04 +02:00
23c2a98ee1 Deapplied ec19ed3723 from the gltf module for now. 2022-08-07 21:36:44 +02:00
7dd9df5e86 Backport FileAccess and DirAccess usage. 2022-08-07 21:26:40 +02:00
1bc7531da7 Remove Gridmap and CSG support from the gltf module. 2022-08-07 21:02:32 +02:00
fc7f3857da Mass replace godot4 class names to 3.x. 2022-08-07 21:00:54 +02:00
81dc812e6f Move include guards to the top of the files. 2022-08-07 20:56:19 +02:00
7c4416503e Replaced the gltf modlue to the one in godot4. It's currently disabled by default while it can't be built. 2022-08-07 20:52:06 +02:00
f8ac4e5708 Check whether the gltf module is enabled or not before trying to use it. 2022-08-07 20:50:41 +02:00
8e6e429653 Removed unnecessary import. 2022-08-07 20:49:57 +02:00
81145db235 Actually check whether modules are enabled, not just for their existence in mesh_data_resource's SCsub. 2022-08-07 20:49:29 +02:00
2aa3fa0468 Fix typo, and init variable to 0. 2022-07-31 18:03:18 +02:00
068143691c Added simple scaling for uvs for TiledWalls. 2022-07-31 14:52:58 +02:00
1a7c404a17 Implemented texture scale for TiledWalls. 2022-07-31 14:47:23 +02:00
40d9d6b49b Implemented handling the new collider_z_offset property for merged TiledWalls. 2022-07-31 14:04:26 +02:00
0227b18d06 Codestyle fixes. 2022-07-31 13:43:36 +02:00
9771f1af99 Codestyle fixes. 2022-07-31 13:36:54 +02:00
f5b3262bde Fix setter type. 2022-07-31 13:31:14 +02:00
27eafa074e Fixed the 2 add methods in TiledWallData. 2022-07-31 13:22:55 +02:00
71f9dd4cd2 Added collider z offset, and texture scale parameters to TiledWallData. Also smaller fixes and codestyle improvements. 2022-07-31 11:29:03 +02:00
9a79a37ec9 Codestyle fixes for the PropMesher. 2022-07-31 11:01:57 +02:00
ec789f1b87 Fixed the property validation for aura triggers and aura stat attributes in Spell. 2022-07-31 00:19:25 +02:00
40ed18dd0d Remove accidental import. 2022-07-31 00:02:31 +02:00
c4e7bc1c45 Reused the old unused PROPERTY_HINT_SPRITE_FRAMES as PROPERTY_HINT_BUTTON. It allows you to add buttons to the inspectors. 2022-07-31 00:01:58 +02:00
249dd4d661 Updated property hints for variant arrays. 2022-07-30 21:58:40 +02:00
65afe14ca4 Ported: [3.5] Replace Navigation std::vector use with LocalVector
Replace Navigation std::vector use with LocalVector.
- smix8
d0a78d05eb
2022-07-30 00:44:53 +02:00
bd391e6fc7 Did the same change to cscript aswell. 2022-07-29 23:07:19 +02:00
Dallon Feldner
90707b7098 Don't print redundant errors when parsing GDScript 2022-07-29 23:04:16 +02:00
Haoyu Qiu
ba8978a0ac Fix doc for print_debug 2022-07-29 22:34:21 +02:00
c569ecfad1 Ported: TileMapEditor Fix interrupted erasing not being properly finished - kleonc
66551a94be
2022-07-29 22:06:26 +02:00
PZerua
8841a5f056 Fix light intensity and attenuation import from GLTF
(cherry picked from commit aa7ab96e7163578f0318546b0b39a4d962e88511)
2022-07-29 19:59:16 +02:00
8fb683fe5d Also port hte previous fix to cscript. 2022-07-29 19:55:28 +02:00
janglee
47ddf3a7c9 GDScript: Fix autocompletetion showing class names with an underscore
Fixes #35469.
2022-07-29 19:54:50 +02:00
11a92cfe27 Ported: Add NavigationServer map_force_update() function
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.
- smix8
721c99a530
2022-07-29 17:56:48 +02:00
da20b32f66 Ported: Add NavigationServer.region_owns_point() helper function
Adds a helper function to check if a world space position is currently owned by a navigation region.
- smix8
f0069cc1e9
2022-07-29 17:52:38 +02:00
f811d48449 Ported: Add Navigation function to get all navigation maps
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.
- smix8
38ee593b76
2022-07-29 17:49:24 +02:00
César Izurieta
28aaf7cc78 Fix gltf texture filename decoding 2022-07-29 17:37:32 +02:00
smix8
149baac627 Disable thread-unsafe EditorProgress for navmesh baking
Disables navmesh baking EditorProgress for now until fixed as EditorProgress is not thread-safe and uses hacks and Main::iteration() for steps which can result in random crashes when baking navmesh.

(cherry picked from commit 24bb0af4a9ae7d2c9f56c20f3d3c6a4568fc9bf5)
2022-07-29 12:16:02 +02:00
8b63c97000 Ported: Print NavMap error only once for invalid NavMesh.- fire
bcd92b8aa0
2022-07-29 10:14:05 +02:00
smix8
6a01f2b717 Fix crash of navigation agents callback when object is invalid
Fix crash of navigation agents callback when object is invalid.

(cherry picked from commit bc38ebe4f07724850095094873d1b42bf914c6f3)
2022-07-29 09:04:03 +02:00
bb5acfd745 Ported: [3.5] Update NavigationServer backport
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
- smix8
8bd7c6188b
2022-07-28 22:34:28 +02:00
Lyuma
19b13f9bdc gltf: Allow more than 4 joints but warn and ignore them. 2022-07-28 19:03:48 +02:00
a166b71594 Ported: [3.5] Fix TileMap texture offset for navigationmesh and collisionshapes - smix8
e9ca65207e
2022-07-28 14:38:19 +02:00
SnailRhymer
cdc646fd63 Make Lookup Symbol recognize assert, preload, and yield in the script editor 2022-07-28 13:36:19 +02:00
smix8
62e781b914 Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty

(cherry picked from commit caceceab0819dca9da4ca3c268bc07ded933e332)
2022-07-28 11:52:25 +02:00
f22e67a07c Fix typo. 2022-07-28 11:01:41 +02:00