Skip to content

Commit 3aedbb6

Browse files
authored
Fix clip plane controls when switching camera projection (#538)
1 parent 1cb2dfc commit 3aedbb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/base/src/3dview/mainview.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,8 @@ export class MainView extends React.Component<IProps, IStates> {
14061406
this._camera.position.copy(position);
14071407
this._camera.up.copy(up);
14081408

1409+
this._transformControls.camera = this._camera;
1410+
14091411
const resizeEvent = new Event('resize');
14101412
window.dispatchEvent(resizeEvent);
14111413
}

0 commit comments

Comments
 (0)