Browse Source

Merge branch 'master' into gl-lines

Alexander Rose 6 years ago
parent
commit
a31837f6c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/mol-canvas3d/camera/transition.ts

+ 2 - 2
src/mol-canvas3d/camera/transition.ts

@@ -27,8 +27,8 @@ class CameraTransitionManager {
             return;
         }
 
-        Camera.copySnapshot(this.source, this.camera);
-        Camera.copySnapshot(this.target, this.camera);
+        Camera.copySnapshot(this.source, this.camera.state);
+        Camera.copySnapshot(this.target, this.camera.state);
         Camera.copySnapshot(this.target, to);
 
         this.inTransition = true;