فهرست منبع

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 ) {