1
0
mirror of https://github.com/octoleo/plantuml.git synced 2025-04-08 11:11: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,9 +331,11 @@ 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();
if (hexagon != null) {
hexagon.setDeltaShadow(ctx.getDeltaShadow()); hexagon.setDeltaShadow(ctx.getDeltaShadow());
ug.draw(hexagon); ug.draw(hexagon);
} }
}
public ShapeType getShapeType() { public ShapeType getShapeType() {
return shapeType; return shapeType;