Closed Fronkln closed 4 years ago
The issue is probably related to this for loop right here
No errors are thrown, materials seem to get assigned to the meshes, but the built mesh is 0 vertices.
GenerateFaceObject calls BuildFace which returns a null surface.
Copy pasting GenerateFaceObject code from 2015 fixed it, commit later?
WithoutBatching mode was once used for debuging and never ment to be useful. Can be deleted altogether.
The code that once made it work is more useful than you think, i recently wrote code that made water planes not get batched so that if i ever figure out how to load nodraw on maps above version 18 it would be possible to have interactable water
Normally gives index outside the bounds of the array, so i added this line in the circle
That fixed the error, but now no mesh is built.