Merge pull request #612 from Gustl22/tileclipper

TileClipper: synchronize clip
This commit is contained in:
Emux 2018-12-09 16:42:12 +02:00 committed by GitHub
commit 04a18f82e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ public class TileClipper {
private final GeometryBuffer mGeomOut = new GeometryBuffer(10, 1);
public boolean clip(GeometryBuffer geom) {
public synchronized boolean clip(GeometryBuffer geom) {
if (geom.isPoly()) {
GeometryBuffer out = mGeomOut;