Draw hull on decorative objects too

This commit is contained in:
Adam
2017-08-15 20:34:30 -04:00
parent c8b12cbc13
commit 981767b399
5 changed files with 103 additions and 51 deletions

View File

@@ -298,6 +298,12 @@ public class DevToolsOverlay extends Overlay
{
OverlayUtil.renderTileOverlay(graphics, decorObject, "ID: " + decorObject.getId(), DEEP_PURPLE);
}
Polygon p = decorObject.getConvexHull();
if (p != null)
{
graphics.drawPolygon(p);
}
}
}