Removed the (empty) uv_unwrap method from MeshDataResource. the mesh utils module has it implemented.

This commit is contained in:
Relintai 2021-12-29 00:43:24 +01:00
parent ccce088bbd
commit 20a8fb525f
2 changed files with 0 additions and 8 deletions

View File

@ -148,11 +148,6 @@ void MeshDataResource::recompute_aabb() {
_aabb = aabb;
}
bool MeshDataResource::uv_unwrap(float p_texel_size) {
//NYI
return false;
}
MeshDataResource::MeshDataResource() {
}
@ -183,5 +178,4 @@ void MeshDataResource::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_collision_shape_count"), &MeshDataResource::get_collision_shape_count);
ClassDB::bind_method(D_METHOD("recompute_aabb"), &MeshDataResource::recompute_aabb);
ClassDB::bind_method(D_METHOD("uv_unwrap", "texel_size"), &MeshDataResource::uv_unwrap, 0.1);
}

View File

@ -84,8 +84,6 @@ public:
void recompute_aabb();
bool uv_unwrap(float p_texel_size = 0.1);
MeshDataResource();
~MeshDataResource();