mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-20 10:47:19 +01:00
Fix errors with bindings
This commit is contained in:
parent
a25862527c
commit
3f04002453
@ -2197,7 +2197,7 @@ void VoxelChunkDefault::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_world_light_added", "light"), &VoxelChunkDefault::_world_light_added);
|
||||
ClassDB::bind_method(D_METHOD("_world_light_removed", "light"), &VoxelChunkDefault::_world_light_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_job"), &VoxelChunkDefault::get_job);
|
||||
//ClassDB::bind_method(D_METHOD("get_job"), &VoxelChunkDefault::get_job);
|
||||
|
||||
BIND_CONSTANT(BUILD_PHASE_DONE);
|
||||
BIND_CONSTANT(BUILD_PHASE_SETUP);
|
||||
|
@ -287,7 +287,7 @@ VoxelPropJob::~VoxelPropJob() {
|
||||
}
|
||||
|
||||
void VoxelPropJob::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_prop_mesher"), &VoxelChunk::get_prop_mesher);
|
||||
ClassDB::bind_method(D_METHOD("set_prop_mesher", "mesher"), &VoxelChunk::set_prop_mesher);
|
||||
ClassDB::bind_method(D_METHOD("get_prop_mesher"), &VoxelPropJob::get_prop_mesher);
|
||||
ClassDB::bind_method(D_METHOD("set_prop_mesher", "mesher"), &VoxelPropJob::set_prop_mesher);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "prop_mesher", PROPERTY_HINT_RESOURCE_TYPE, "VoxelMesher", 0), "set_prop_mesher", "get_prop_mesher");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user