Commit 68cf651
fix: add annotations before awaiting tile load in ontoolinput
Annotations were added after `await waitForTilesLoaded()` which blocks
up to 10 seconds. If the host doesn't forward `_meta.initialAnnotations`
to ontoolresult, annotations wouldn't appear until tiles finish loading.
Now annotations are added immediately after camera positioning, before
the tile-loading await. Also adds field validation in ontoolinputpartial
to prevent creating broken entities from truncated streaming data.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f9cadb3 commit 68cf651
1 file changed
Lines changed: 26 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1510 | 1510 | | |
1511 | 1511 | | |
1512 | 1512 | | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
1513 | 1529 | | |
1514 | 1530 | | |
1515 | 1531 | | |
| |||
1559 | 1575 | | |
1560 | 1576 | | |
1561 | 1577 | | |
1562 | | - | |
1563 | | - | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
1567 | | - | |
1568 | 1578 | | |
1569 | 1579 | | |
1570 | | - | |
| 1580 | + | |
1571 | 1581 | | |
1572 | 1582 | | |
1573 | 1583 | | |
| |||
1578 | 1588 | | |
1579 | 1589 | | |
1580 | 1590 | | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1581 | 1600 | | |
1582 | 1601 | | |
1583 | 1602 | | |
| |||
0 commit comments