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:
parent
d1e5f82084
commit
041b2b45b9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user