1
0
mirror of https://github.com/octoleo/plantuml.git synced 2025-04-07 02:31:51 +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 SvekNode node = bibliotekon.getNode(getEntity());
final Shadowable hexagon = node.getPolygon(); final Shadowable hexagon = node.getPolygon();
hexagon.setDeltaShadow(ctx.getDeltaShadow()); if (hexagon != null) {
ug.draw(hexagon); hexagon.setDeltaShadow(ctx.getDeltaShadow());
ug.draw(hexagon);
}
} }
public ShapeType getShapeType() { public ShapeType getShapeType() {