Alos remove _execute method bind from the NavigationMeshGenerator jobs.

This commit is contained in:
Relintai 2023-06-05 14:50:39 +02:00
parent cfa4384ad4
commit 1994285031

View File

@ -89,7 +89,6 @@ void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask2D::_execute() {
} }
void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask2D::_bind_methods() { void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("_execute"), &NavigationGeneratorTask2D::_execute);
} }
#ifndef _3D_DISABLED #ifndef _3D_DISABLED
@ -113,7 +112,6 @@ void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask3D::_execute() {
} }
void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask3D::_bind_methods() { void PandemoniumNavigationMeshGenerator::NavigationGeneratorTask3D::_bind_methods() {
ClassDB::bind_method(D_METHOD("_execute"), &NavigationGeneratorTask3D::_execute);
} }
#endif // _3D_DISABLED #endif // _3D_DISABLED