Remove a newly added type check, as i just realized it's unnecessary.

This commit is contained in:
Relintai 2021-03-23 10:57:35 +01:00
parent e56a894b99
commit 825030746a

View File

@ -101,11 +101,6 @@ void MeshDataResource::recompute_aabb() {
}
Variant arr = _arrays[Mesh::ARRAY_VERTEX];
if (arr.get_type() != Variant::POOL_VECTOR3_ARRAY) {
return;
}
PoolVector<Vector3> vertices = arr;
int len = vertices.size();