diff --git a/code/Obj/ObjFileParser.cpp b/code/Obj/ObjFileParser.cpp index 79d5dc284..a825b96ca 100644 --- a/code/Obj/ObjFileParser.cpp +++ b/code/Obj/ObjFileParser.cpp @@ -67,7 +67,7 @@ ObjFileParser::ObjFileParser() : m_pIO(nullptr), m_progress(nullptr), m_originalObjFileName() { - // empty + std::fill_n(m_buffer, Buffersize, '\0'); } ObjFileParser::ObjFileParser(IOStreamBuffer &streamBuffer, const std::string &modelName,