Parcourir la source

Fix OBJ parsing when there's no material file

Daniel Salvadori il y a 4 ans
Parent
commit
84753eeaf1
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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
 // to the specified line parser.
 func (dec *Decoder) parse(reader io.Reader, parseLine func(string) error) error {
-	fmt.Println("Hi!", reader)
 	bufin := bufio.NewReader(reader)
 	dec.line = 1
 	for {