Skip to content

Commit

Permalink
Fix #858
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Dec 8, 2024
1 parent 7690f35 commit db9815b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r3f/components/CameraTransition.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CameraTransitionManager } from '3d-tiles-renderer';

export const CameraTransition = forwardRef( function CameraTransition( props, ref ) {

const { mode, onTransitionStart, onTransitionEnd, perspectiveCamera, orthographicCamera } = props;
const { mode = 'perspective', onTransitionStart, onTransitionEnd, perspectiveCamera, orthographicCamera } = props;
const [ set, invalidate, controls, camera, size ] = useThree( state => [ state.set, state.invalidate, state.controls, state.camera, state.size ] );

// create the manager
Expand Down

0 comments on commit db9815b

Please sign in to comment.