Merge pull request #193 from tdaffin/fix_bindings

Fix binding of is_empty to allow build with mono
master
Marc 2020-09-08 01:46:15 +01:00 committed by GitHub
commit 14132a1fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ void Voxel::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_collision_mask", "mask"), &Voxel::set_collision_mask);
ClassDB::bind_method(D_METHOD("get_collision_mask"), &Voxel::get_collision_mask);
ClassDB::bind_method(D_METHOD("is_empty()"), &Voxel::is_empty);
ClassDB::bind_method(D_METHOD("is_empty"), &Voxel::is_empty);
// TODO Update to StringName in Godot 4
ADD_PROPERTY(PropertyInfo(Variant::STRING, "voxel_name"), "set_voxel_name", "get_voxel_name");