Issue description:
Recently, I have been working with SurfaceTool and I noticed that some functions don't work with anything but PRIMITIVE_TRIANGLES.
SurfaceToolgenerate_normals() checks for PRIMITIVE_TRIANGLES explicitly but it isn't mentioned in the documentation.
Meshget_faces() seems to return an empty array when the mesh is not made using PRIMITIVE_TRIANGLES.
There might be more but this is what I've noticed. This could save someone the headache I had when working with procedural meshes and their collisions.
Godot version: 3.0
OS/device including version: All
Issue description: Recently, I have been working with SurfaceTool and I noticed that some functions don't work with anything but
PRIMITIVE_TRIANGLES.
SurfaceTool
generate_normals()
checks forPRIMITIVE_TRIANGLES
explicitly but it isn't mentioned in the documentation. Meshget_faces()
seems to return an empty array when the mesh is not made usingPRIMITIVE_TRIANGLES
.There might be more but this is what I've noticed. This could save someone the headache I had when working with procedural meshes and their collisions.