diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 778832e..8b61f05 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -435,7 +435,7 @@ struct face_t { int pad_; std::vector vertex_indices; // face vertex indices. - face_t() : smoothing_group_id(0) {} + face_t() : smoothing_group_id(0), pad_(0) {} }; struct line_t {