Skip to content

Commit

Permalink
Add missing Point type handling in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnenauha committed Jul 28, 2016
1 parent 7ebe101 commit 64ea2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obj-parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (p *Parser) Parse(b []byte) (*objectfile.OBJ, error) {
}

// object: faces
case objectfile.Face, objectfile.Line:
case objectfile.Face, objectfile.Line, objectfile.Point:
// most tools support the file not defining a o/g prior to face declarations.
// I'm not sure if the spec allows not declaring any o/g.
// Our data structures and parsing however requires objects to put the faces into,
Expand Down

0 comments on commit 64ea2b9

Please sign in to comment.