diff --git a/packages/base/src/3dview/mainview.tsx b/packages/base/src/3dview/mainview.tsx index b23f8976..bfe31397 100644 --- a/packages/base/src/3dview/mainview.tsx +++ b/packages/base/src/3dview/mainview.tsx @@ -782,10 +782,8 @@ export class MainView extends React.Component { } }); - // Update the reflength. We will update the camera position accordingly if there is a single object. - this._updateRefLength( - this._meshGroup.children.length === 1 || this._refLength === null - ); + // Update the reflength. + this._updateRefLength(this._refLength === null); // Set the expoded view if it's enabled this._setupExplodedView(); diff --git a/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Modified-linux.png b/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Modified-linux.png index 991d2ad0..b85619c1 100644 Binary files a/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Modified-linux.png and b/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Modified-linux.png differ diff --git a/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Redo-linux.png b/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Redo-linux.png index f174fef7..8c7cae5b 100644 Binary files a/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Redo-linux.png and b/ui-tests/tests/ui.spec.ts-snapshots/JCAD-Redo-linux.png differ diff --git a/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png b/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png index d3be82ac..18b23068 100644 Binary files a/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png and b/ui-tests/tests/ui.spec.ts-snapshots/Operator-Remove-test-jcad-linux.png differ