Skip to content

Commit 12de488

Browse files
Copilotsyoyo
andcommitted
Deep review: remove redundant saw_missing_color code in fast vertex path
Co-authored-by: syoyo <18676+syoyo@users.noreply.github.com>
1 parent dc2688f commit 12de488

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tiny_obj_loader.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11706,9 +11706,6 @@ static void opt_parseLineToThreadData(
1170611706
td.v_color[coff+2] = real_t(1.0);
1170711707
}
1170811708
}
11709-
if (nextra != 3 && nextra < 4) {
11710-
td.saw_missing_color = true;
11711-
}
1171211709
td.num_v++;
1171311710
return;
1171411711
}

0 commit comments

Comments
 (0)