Fix perspective camera toggle in debug pane to update immediately (#2969)
This commit is contained in:
@ -717,7 +717,7 @@ export const CamDebugSettings = () => {
|
||||
if (camSettings.type === 'perspective') {
|
||||
sceneInfra.camControls.useOrthographicCamera()
|
||||
} else {
|
||||
sceneInfra.camControls.usePerspectiveCamera()
|
||||
sceneInfra.camControls.usePerspectiveCamera(true)
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user