Shape-Editor-Tool icon indicating copy to clipboard operation
Shape-Editor-Tool copied to clipboard

Error on overlapping points

Open JeremyVansnick opened this issue 7 years ago • 0 comments

If you perfectly overlap 2 points of a shape you get this error:

"Error triangulating mesh. Aborted. UnityEngine.Debug:LogError(Object) Sebastian.Geometry.Triangulator:Triangulate() (at Assets/Scripts/Geometry/Triangulator.cs:72) Sebastian.Geometry.CompositeShapeData:.ctor(Vector3[]) (at Assets/Scripts/Geometry/CompositeShapeData.cs:33) Sebastian.Geometry.CompositeShape:<Process>m__1(ShapeMesh) (at Assets/Scripts/Geometry/CompositeShape.cs:42) System.Linq.Enumerable:ToArray(IEnumerable`1) Sebastian.Geometry.CompositeShape:Process() (at Assets/Scripts/Geometry/CompositeShape.cs:42) Sebastian.Geometry.CompositeShape:GetMesh() (at Assets/Scripts/Geometry/CompositeShape.cs:29) ShapeMesh:UpdateMeshDisplay() (at Assets/Scripts/ShapeMesh.cs:61) ShapeCreatorEditor:Draw() (at Assets/Scripts/JeyTools/Editor/ShapeCreatorEditor.cs:784) ShapeCreatorEditor:OnSceneGUI() (at Assets/Scripts/JeyTools/Editor/ShapeCreatorEditor.cs:160) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"

Here's a gif showing the issue:

2018-01-30_14-24-57

JeremyVansnick avatar Jan 30 '18 13:01 JeremyVansnick