Fix remove self edge

This commit is contained in:
Unick Soft
2020-07-09 19:58:41 +02:00
parent 8e2fe8066f
commit 17a276f797
4 changed files with 50 additions and 16 deletions

View File

@@ -101,7 +101,7 @@ BaseEdge.prototype.GetPixelLength = function ()
{
if (this.vertex1 == this.vertex2)
{
return (new CommonEdgeStyle()).sizeOfLoop * 2 * Math.PI;
return this.model.GetLoopSize() * 2 * Math.PI;
}
else
{