소스 검색

WebVRManager: Warn when trying to set standing.

Mr.doob 7 년 전
부모
커밋
745550bbae
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      src/Three.Legacy.js

+ 12 - 0
src/Three.Legacy.js

@@ -1545,6 +1545,18 @@ Object.assign( WebVRManager.prototype, {
 
 } );
 
+Object.defineProperties( WebVRManager.prototype, {
+
+	standing: {
+		set: function ( value ) {
+
+			console.warn( 'THREE.WebVRManager: .standing has been removed.' );
+
+		}
+	}
+
+} );
+
 //
 
 Audio.prototype.load = function ( file ) {