1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-26 14:56:28 +00:00

Temporary fix NPE

This commit is contained in:
Arnaud Roques 2021-11-01 15:47:30 +01:00
parent d1e5f82084
commit 041b2b45b9

View File

@ -331,8 +331,10 @@ public class EntityImageDescription extends AbstractEntityImage {
}
final SvekNode node = bibliotekon.getNode(getEntity());
final Shadowable hexagon = node.getPolygon();
hexagon.setDeltaShadow(ctx.getDeltaShadow());
ug.draw(hexagon);
if (hexagon != null) {
hexagon.setDeltaShadow(ctx.getDeltaShadow());
ug.draw(hexagon);
}
}
public ShapeType getShapeType() {