浏览代码

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

Mr.doob 9 年之前
父节点
当前提交
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 () {};
 	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' );
+
+};