mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2025-02-20 17:14:31 +01:00
Removed the (empty) uv_unwrap method from MeshDataResource. the mesh utils module has it implemented.
This commit is contained in:
parent
ccce088bbd
commit
20a8fb525f
@ -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);
|
||||
}
|
||||
|
@ -84,8 +84,6 @@ public:
|
||||
|
||||
void recompute_aabb();
|
||||
|
||||
bool uv_unwrap(float p_texel_size = 0.1);
|
||||
|
||||
MeshDataResource();
|
||||
~MeshDataResource();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user