Skip to content

Commit

Permalink
OBJLoader: Clarify comment skips. (#25906)
Browse files Browse the repository at this point in the history
* docs: make comment check more self-documenting

* make suggested change
  • Loading branch information
hamirmahal committed Apr 23, 2023
1 parent 2d1621f commit 22242d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/OBJLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ class OBJLoader extends Loader {
const lineFirstChar = line.charAt( 0 );

// @todo invoke passed in handler if any
if ( lineFirstChar === '#' ) continue;
if ( lineFirstChar === '#' ) continue; // skip comments

if ( lineFirstChar === 'v' ) {

Expand Down

0 comments on commit 22242d5

Please sign in to comment.