Sfoglia il codice sorgente

Let MMDExporter use mmd-parser

Takahiro 8 anni fa
parent
commit
9607e090ae
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      examples/js/exporters/MMDExporter.js

+ 2 - 2
examples/js/exporters/MMDExporter.js

@@ -2,7 +2,7 @@
  * @author takahiro / http://github.com/takahirox
  * @author takahiro / http://github.com/takahirox
  *
  *
  * Dependencies
  * Dependencies
- *  - charset-encoder-js https://github.com/takahirox/charset-encoder-js
+ *  - mmd-parser https://github.com/takahirox/mmd-parser
  */
  */
 
 
 THREE.MMDExporter = function () {
 THREE.MMDExporter = function () {
@@ -14,7 +14,7 @@ THREE.MMDExporter = function () {
 
 
 		if ( u2sTable === undefined ) {
 		if ( u2sTable === undefined ) {
 
 
-			var encoder = new CharsetEncoder();
+			var encoder = new MMDParser.CharsetEncoder();
 			var table = encoder.s2uTable;
 			var table = encoder.s2uTable;
 			u2sTable = {};
 			u2sTable = {};