ソースを参照

Fix OBJ parsing when there's no material file

Daniel Salvadori 4 年 前
コミット
84753eeaf1
1 ファイル変更0 行追加1 行削除
  1. 0 1
      loader/obj/obj.go

+ 0 - 1
loader/obj/obj.go

@@ -401,7 +401,6 @@ func (dec *Decoder) loadTex(mat *material.Material, desc *Material) error {
 // parse reads the lines from the specified reader and dispatch them
 // parse reads the lines from the specified reader and dispatch them
 // to the specified line parser.
 // to the specified line parser.
 func (dec *Decoder) parse(reader io.Reader, parseLine func(string) error) error {
 func (dec *Decoder) parse(reader io.Reader, parseLine func(string) error) error {
-	fmt.Println("Hi!", reader)
 	bufin := bufio.NewReader(reader)
 	bufin := bufio.NewReader(reader)
 	dec.line = 1
 	dec.line = 1
 	for {
 	for {