Browse Source

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

Mr.doob 9 years ago
parent
commit
ef47ebead1
1 changed files with 9 additions and 0 deletions
  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' );
+
+};