Skip to content

Commit

Permalink
Add missing else to OBJ parser
Browse files Browse the repository at this point in the history
There was a missing else but it shouldn't affect loading OBJ models.
  • Loading branch information
zturtleman committed Jan 3, 2019
1 parent 15e751e commit 5418180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libmm3d/objfilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ bool ObjFilter::readLine( char * line )
replace( str, ',', '.' );
readVertex( str );
}
if ( strncmp( str, "vt ", 3 ) == 0 )
else if ( strncmp( str, "vt ", 3 ) == 0 )
{
replace( str, ',', '.' );
readTextureCoord( str );
Expand Down

0 comments on commit 5418180

Please sign in to comment.