diff --git a/examples/js/controls/OrbitControls.js b/examples/js/controls/OrbitControls.js index aa6c44fcca9bb2..183780c7bb3374 100644 --- a/examples/js/controls/OrbitControls.js +++ b/examples/js/controls/OrbitControls.js @@ -479,11 +479,11 @@ THREE.OrbitControls = function ( object, domElement ) { if ( dollyDelta.y > 0 ) { - dollyIn( scope.getZoomScale() ); + dollyIn( getZoomScale() ); } else if ( dollyDelta.y < 0 ) { - dollyOut( scope.getZoomScale() ); + dollyOut( getZoomScale() ); }