[3d] temp fix preview camera not sync up (#2743)

This commit is contained in:
Terry Jia
2025-02-26 21:39:19 -05:00
committed by GitHub
parent 0259befcdd
commit e843f53799
4 changed files with 12 additions and 0 deletions

View File

@@ -269,6 +269,10 @@ class Load3d {
this.previewManager.togglePreview(showPreview)
}
refreshCamera(): void {
this.cameraManager.refreshCamera()
}
setTargetSize(width: number, height: number): void {
this.previewManager.setTargetSize(width, height)
}