mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 04:46:48 +01:00
Don't bind _execute() method in ThreadPoolJob derived classes, as it's not needed anymore.
This commit is contained in:
parent
6589d075bb
commit
4873a3429d
@ -152,8 +152,6 @@ ThreadPoolExecuteJob::~ThreadPoolExecuteJob() {
|
||||
}
|
||||
|
||||
void ThreadPoolExecuteJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &ThreadPoolExecuteJob::_execute);
|
||||
|
||||
MethodInfo mi;
|
||||
mi.arguments.push_back(PropertyInfo(Variant::OBJECT, "obj"));
|
||||
mi.arguments.push_back(PropertyInfo(Variant::STRING, "method"));
|
||||
|
@ -63,6 +63,4 @@ void PropTextureJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_merger", "value"), &PropTextureJob::set_merger);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "merger", PROPERTY_HINT_RESOURCE_TYPE, "TexturePacker"), "set_merger", "get_merger");
|
||||
#endif
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &PropTextureJob::_execute);
|
||||
}
|
||||
|
@ -162,8 +162,6 @@ void PropInstanceJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("reset"), &PropInstanceJob::reset);
|
||||
ClassDB::bind_method(D_METHOD("_reset"), &PropInstanceJob::_reset);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &PropInstanceJob::_execute);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_execute_phase"));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("execute_phase"), &PropInstanceJob::execute_phase);
|
||||
|
@ -63,6 +63,4 @@ void Prop2DTextureJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_merger", "value"), &Prop2DTextureJob::set_merger);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "merger", PROPERTY_HINT_RESOURCE_TYPE, "TexturePacker"), "set_merger", "get_merger");
|
||||
#endif
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &Prop2DTextureJob::_execute);
|
||||
}
|
||||
|
@ -162,8 +162,6 @@ void Prop2DInstanceJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("reset"), &Prop2DInstanceJob::reset);
|
||||
ClassDB::bind_method(D_METHOD("_reset"), &Prop2DInstanceJob::_reset);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &Prop2DInstanceJob::_execute);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_execute_phase"));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("execute_phase"), &Prop2DInstanceJob::execute_phase);
|
||||
|
@ -325,8 +325,6 @@ void TerrainJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("reset"), &TerrainJob::reset);
|
||||
ClassDB::bind_method(D_METHOD("_reset"), &TerrainJob::_reset);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &TerrainJob::_execute);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_execute_phase"));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("execute_phase"), &TerrainJob::execute_phase);
|
||||
|
@ -301,8 +301,6 @@ void Terrain2DJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("reset"), &Terrain2DJob::reset);
|
||||
ClassDB::bind_method(D_METHOD("_reset"), &Terrain2DJob::_reset);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &Terrain2DJob::_execute);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_execute_phase"));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("execute_phase"), &Terrain2DJob::execute_phase);
|
||||
|
@ -338,8 +338,6 @@ void VoxelJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("reset"), &VoxelJob::reset);
|
||||
ClassDB::bind_method(D_METHOD("_reset"), &VoxelJob::_reset);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_execute"), &VoxelJob::_execute);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_execute_phase"));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("execute_phase"), &VoxelJob::execute_phase);
|
||||
|
Loading…
Reference in New Issue
Block a user