fix camera initial load
This commit is contained in:
@@ -237,6 +237,7 @@ export const CustomCameraControls = () => {
|
|||||||
mouseButtons={mouseButtons}
|
mouseButtons={mouseButtons}
|
||||||
onTransitionStart={onTransitionStart}
|
onTransitionStart={onTransitionStart}
|
||||||
onRest={onRest}
|
onRest={onRest}
|
||||||
|
onSleep={onRest}
|
||||||
restThreshold={0.01}
|
restThreshold={0.01}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user