From c34d89affdd05f2a0ed04d59be5f8eceb47a2d72 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 11 Sep 2024 23:07:47 +0800 Subject: [PATCH] rename getBoundingBox to getViewportBoundingBox --- thermion_dart/lib/thermion_dart/entities/gizmo.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_dart/lib/thermion_dart/entities/gizmo.dart b/thermion_dart/lib/thermion_dart/entities/gizmo.dart index 87ccf082..29998407 100644 --- a/thermion_dart/lib/thermion_dart/entities/gizmo.dart +++ b/thermion_dart/lib/thermion_dart/entities/gizmo.dart @@ -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)); }