Skip to content

Commit 64ea2b9

Browse files
committed
Add missing Point type handling in parser
1 parent 7ebe101 commit 64ea2b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

obj-parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (p *Parser) Parse(b []byte) (*objectfile.OBJ, error) {
131131
}
132132

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

0 commit comments

Comments
 (0)