Skip to content
Snippets Groups Projects
Unverified Commit 492e0977 authored by Alexander Rose's avatar Alexander Rose Committed by GitHub
Browse files

Merge pull request #494 from giagitom/master

only update camera state if manualReset is off
parents acf6c31a e3523dc5
No related branches found
No related tags found
No related merge requests found
......@@ -574,7 +574,7 @@ namespace Canvas3D {
}
if (oldBoundingSphereVisible.radius === 0) nextCameraResetDuration = 0;
camera.setState({ radiusMax: scene.boundingSphere.radius }, 0);
if (!p.camera.manualReset) camera.setState({ radiusMax: scene.boundingSphere.radius }, 0);
reprCount.next(reprRenderObjects.size);
if (isDebugMode) consoleStats();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment