Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Polygon multiplication bug in Node.AllPolygons() #32

@goitrodos

Description

@goitrodos

Calling Node.AllPolygons will multiplicate the polygons drastically due to:

List<Polygon> list = polygons;

This breaks the initial data structure due to not copying the data to a new list. The correct code should be:

List<Polygon> list = new List<Polygon>(polygons);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions