소스 검색

Three.Legacy: Added error messages for TextGeometry/FontUtils. See #7503.

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

+ 9 - 0
src/Three.Legacy.js

@@ -707,3 +707,12 @@ THREE.CanvasRenderer = function () {
 	this.setSize = function () {};
 
 };
+
+//
+
+THREE.TextGeometry = function () {
+
+	console.error( 'THREE.TextGeometry has been moved to /examples/js/geometries/TextGeometry.js' );
+	console.error( 'THREE.FontUtils has been moved to /examples/js/utils/FontUtils.js' );
+
+};