diff --git a/erdblick_app/app/app.module.ts b/erdblick_app/app/app.module.ts index d1532812..91b9c7e9 100644 --- a/erdblick_app/app/app.module.ts +++ b/erdblick_app/app/app.module.ts @@ -52,7 +52,6 @@ import {FeatureSearchService} from "./feature.search.service"; import {ClipboardService} from "./clipboard.service"; import {MultiSelectModule} from "primeng/multiselect"; import {ButtonGroupModule} from "primeng/buttongroup"; -import {TabViewModule} from "primeng/tabview"; import {BreadcrumbModule} from "primeng/breadcrumb"; import {TableModule} from "primeng/table"; import {HighlightSearch} from "./highlight.pipe"; diff --git a/erdblick_app/app/view.component.ts b/erdblick_app/app/view.component.ts index f150f12a..fa14da05 100644 --- a/erdblick_app/app/view.component.ts +++ b/erdblick_app/app/view.component.ts @@ -247,13 +247,6 @@ export class ErdblickViewComponent implements AfterViewInit { this.inspectionService.originAndNormalForFeatureZoom.subscribe(values => { const [origin, normal] = values; - // this.viewer.entities.add({ - // position: origin, - // point: { - // pixelSize: 10, - // color: Color.BLUE - // } - // }); const direction = Cartesian3.subtract(normal, new Cartesian3(), new Cartesian3()); const endPoint = Cartesian3.add(origin, direction, new Cartesian3()); Cartesian3.normalize(direction, direction); @@ -263,14 +256,6 @@ export class ErdblickViewComponent implements AfterViewInit { Cartesian3.normalize(right, right); const cameraUp = Cartesian3.cross(right, direction, new Cartesian3()); Cartesian3.normalize(cameraUp, cameraUp); - // this.viewer.entities.add({ - // position: endPoint, - // point: { - // pixelSize: 10, - // color: Color.RED - // } - // }); - this.viewer.camera.flyToBoundingSphere(new BoundingSphere(origin, radius)); this.viewer.camera.flyTo({ destination: endPoint, orientation: {