Commit Graph

2787 Commits

Author SHA1 Message Date
5578afc3d6 Fix scons warning. 2023-06-05 14:56:10 +02:00
1994285031 Alos remove _execute method bind from the NavigationMeshGenerator jobs. 2023-06-05 14:50:39 +02:00
cfa4384ad4 Backported from godot4: Fix NavigationMesh baking AABB Editor handling and visuals
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
- smix8
2023-06-05 14:33:55 +02:00
b7892d6baf Backported from godot4: Implement NavigationMesh bake area.
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
- smix8
0c4d99f4fd
2023-06-05 14:24:42 +02:00
bb753653dd Don't print an error in ThreadPoolJob's _execute, as it's probably more intuitive this way. 2023-06-05 14:17:50 +02:00
4873a3429d Don't bind _execute() method in ThreadPoolJob derived classes, as it's not needed anymore. 2023-06-05 14:15:49 +02:00
6589d075bb Ported the improvements to the NavigationPolygon from the aforementioned pull request. 2023-06-05 14:13:02 +02:00
712eb8eb8a Removed the Polygon struct from NavigationPolygon. 2023-06-05 12:48:57 +02:00
0bfa40bb09 Reorganize NavigationPolygon. 2023-06-05 12:44:49 +02:00
b4cc1c3096 Added the GeometryParsers from the NavigationMeshGenerator pr to a new module. 2023-06-05 12:43:27 +02:00
642b5b7159 Use call_deferred when emitting the completed signal, so the handlers run on the main thread. 2023-06-05 09:11:39 +02:00
6dc774cf5c Emit the completed signal automatically in ThreadPoolJob. 2023-06-05 09:08:22 +02:00
9a2a39923a Added virtual _execute to threadPoolJob. 2023-06-05 09:05:16 +02:00
645045f97c Finished reworking PandemoniumNavigationMeshGenerator's api. 2023-06-05 08:58:48 +02:00
d35db3a25a More cleanups. 2023-06-05 00:20:48 +02:00
57153f4a33 Make overrides consistent again. 2023-06-04 13:11:04 +02:00
45c0147f66 Notes and small cleanups. 2023-06-04 13:02:02 +02:00
3ba762a9a4 PandemoniumNavigationMeshGenerator rework pt1. 2023-06-04 10:14:20 +02:00
6136f0b802 Fix the type of the CreateNavigationMeshGeneratorCallback. 2023-06-04 09:41:39 +02:00
e55c561075 Also added the navigation mesh generator module. It's disabled for now, as it needs some reworks. 2023-06-03 21:18:18 +02:00
54ae614941 Make sure that the new classes are registered to the ClassDB. Also added in the docs for them. 2023-06-03 20:39:56 +02:00
0a3d1d6cf5 Added in NavigationMeshGeneratorDummy and set up initialization. 2023-06-03 20:00:42 +02:00
9a35d6c7d3 Cleaned up NavigationMeshGenerator and added it to the build. 2023-06-03 18:45:20 +02:00
8cbb1bb879 Started porting pull request from godot 4: Rework NavigationMeshGenerator
Reworks NavigationMeshGenerator and navigation mesh parse and bake process. Adds navigation mesh baking for 2D.
- smix8
https://github.com/godotengine/godot/pull/70724
38699a8259
2023-06-03 18:22:12 +02:00
2114b2239b Split NavigationPolygon and NavigationPolygonInstance into 2 files. Also renamedNavigationPolygonInstance to NavigationRegion2D. 2023-06-03 16:54:48 +02:00
79538b4392 Fix more binding inconsistencies. 2023-06-02 12:21:16 +02:00
6b15eb053c Fix property bind inconsistency. 2023-06-02 12:17:16 +02:00
e3e9450882 Fix property binding hints. 2023-06-02 12:12:04 +02:00
de9da3151f Fix property types. Auras have been merged into Spells a while ago. 2023-06-02 12:10:20 +02:00
d8bd83dbd5 Fix the type of FastnoiseNoiseParams::get_fractal_octaves(). 2023-06-01 17:15:27 +02:00
e8bb085466 Renamed the Math singleton to PMath, as it causes too many issues when dealing with gdnatove / mono. It will also be eventually moved to a module, as it's only useful in some situations. 2023-06-01 17:02:16 +02:00
97f5037c8b Renamed the object() method in HTMLBuilder as it can cause issues with bind generators. 2023-06-01 16:51:08 +02:00
d093365b00 Fix some property names being the same as getters / setters. 2023-06-01 15:42:32 +02:00
50fa3addad Fix handling dots in String::is_numeric(). 2023-06-01 15:41:43 +02:00
dbc5b1df35 Fixed disrepancies between a few getter and setters. 2023-06-01 13:06:24 +02:00
61ccfb443f Bind missing enum values in Terrain2DJob. 2023-05-31 22:52:52 +02:00
868230fe57 Bind enum values. 2023-05-31 22:51:03 +02:00
44070461e7 Move the enums from the top of spell.h into the Spell class. 2023-05-31 22:49:36 +02:00
9c28249819 Bind enum constants. 2023-05-31 22:43:57 +02:00
a1402fd46a Bind enum constants. 2023-05-31 22:42:59 +02:00
69182c8089 Fix duplicate parameter name in binding. 2023-05-31 22:36:02 +02:00
b7e273b226 Bind missing enum constants. 2023-05-31 22:33:20 +02:00
8f9274a589 Fix virtual method names in Entity. 2023-05-31 22:31:46 +02:00
c65f9cb85a Fix duplicate property param name. 2023-05-31 22:24:18 +02:00
5acb19630d Fix the order of some default arguments in bindings. 2023-05-31 22:14:12 +02:00
807d5f18a2 Bind enum constants in Prop2DInstanceJob. 2023-05-31 17:33:35 +02:00
e1e51b2881 Fix the return type of PoolVector::count(). 2023-05-31 00:06:19 +02:00
59933a9e60 Added grow_by and to_rect2 helper method to Rect2i. 2023-05-30 19:33:12 +02:00
0f6fb760ad Now Basis::get_uniform_scale() returns a real_t instead of a float. 2023-05-29 16:08:59 +02:00
47e637b2b8 Mark the parameters of Basis::rotate_to_align as const ref. 2023-05-29 13:03:26 +02:00