jbl
1
I was attempting to increase facet density on a custom-created mesh defined with no UVs when Babylon threw a VertexData contains null entries
warning.
Looking at the source code, I concluded that my mesh was ‘missing’ UV data.
Assigning a zero-filled array to vertexData.uvs
did the trick. Still…
As the library allows creation of custom meshes without UVs, wouldn’t it make sense to make Mesh.increaseVertices()
work on such meshes?
Also, the doc says that the numberPerEdge
parameter is optional, but this doesn’t seem to be correct.
Thanks!
JohnK
2
Both points make sense. Unless you want to do a PR I will do changes next week.
jbl
3
I’ve never done a PR here but there’s always a first time I guess
If no one is in a rush I could probably do that next week.
JohnK
4
I will leave it to you then. Any problems let me know. Reference this topic when you submit the PR.
jbl
5
PR submitted here. @JohnK let me know if there’s anything else I should do.
1 Like
JohnK
6
Nothing as far as I know, the core team will check it out.
1 Like