Commit e1059ee
authored
Bug fix on submap with rivers with river.parent not visible in the new map (#1431)
* fixing issue 1411
* bug fix : getBasin() does not check if the river parent exists. added a getParent() function that retuns the current river id of the parent does not exists.
bug fix : submap removes rivers not visible in the new map but does not modify river.parent of children rivers. This fix forces river.parent and river.basin to river.i in that case1 parent f1cf1bb commit e1059ee
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
| |||
616 | 617 | | |
617 | 618 | | |
618 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
619 | 627 | | |
620 | | - | |
621 | | - | |
| 628 | + | |
| 629 | + | |
622 | 630 | | |
623 | | - | |
| 631 | + | |
624 | 632 | | |
625 | 633 | | |
626 | 634 | | |
| |||
0 commit comments