mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 13:05:09 +00:00
Workaround for issue https://github.com/plantuml/plantuml/issues/1036
This commit is contained in:
parent
e801884415
commit
649a13e04b
@ -122,7 +122,12 @@ public class CompositeDiagramShape extends DiagramComponent {
|
||||
if(workGrid.cellContainsDashedLineChar(previousCell)) shape.setStrokeDashed(true);
|
||||
|
||||
boolean finished = false;
|
||||
int nb = 0;
|
||||
while(!finished) {
|
||||
// https://github.com/plantuml/plantuml/issues/1036
|
||||
nb++;
|
||||
if (nb > 1000)
|
||||
return result;
|
||||
visitedCells.add(cell);
|
||||
if(workGrid.isPointCell(cell)) {
|
||||
if(DEBUG) System.out.println("point at "+cell+" (call from line: "+DebugUtils.getLineNumber()+")");
|
||||
|
Loading…
Reference in New Issue
Block a user