Properly working instancing, and compatibility fixing for old meshes

This commit is contained in:
Juan Linietsky
2019-09-23 16:01:05 -03:00
parent 123ee5995c
commit bc3dbe8240
5 changed files with 207 additions and 85 deletions

View File

@@ -1144,10 +1144,6 @@ Array VisualServer::_get_array_from_surface(uint32_t p_format, PoolVector<uint8_
elem_size *= sizeof(float);
}
if (elem_size == 6) {
elem_size = 8;
}
} break;
case VS::ARRAY_NORMAL: {