rename getBoundingBox to getViewportBoundingBox

This commit is contained in:
Nick Fisher
2024-09-11 23:07:47 +08:00
parent e07a4fac97
commit c34d89affd

View File

@@ -103,7 +103,7 @@ class Gizmo extends AbstractGizmo {
_activeEntity = entity;
await _viewer.setGizmoVisibility(true);
await _viewer.setParent(center, entity, preserveScaling: true);
_boundingBoxController.sink.add(await _viewer.getBoundingBox(x));
_boundingBoxController.sink.add(await _viewer.getViewportBoundingBox(x));
}