Commit f5bc6be3 authored by Matthias Betz's avatar Matthias Betz
Browse files

fixing null pointer when clearing a vertex adjacency list

parent b80de9c0
Pipeline #4371 passed with stage
in 2 minutes and 33 seconds
...@@ -132,6 +132,6 @@ public class Vertex extends Vector3d { ...@@ -132,6 +132,6 @@ public class Vertex extends Vector3d {
* Remove all adjacent rings from this vertex, ignoring geometry association * Remove all adjacent rings from this vertex, ignoring geometry association
*/ */
void clearAdjacentRings() { void clearAdjacentRings() {
adjacentRings = null; adjacentRings = new ArrayList<>(2);
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment