Skip to content
Snippets Groups Projects
Commit 4cfe7578 authored by Jan Möbius's avatar Jan Möbius
Browse files

Obj writer: Fix OBJ writer bug file extension removal (Thanks to Katharina...

Obj writer: Fix OBJ writer bug file extension removal (Thanks to Katharina Breininger for the patch)
parent 0dee5a61
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -26,6 +26,8 @@
<ul>
<li>PLY Reader: Fixed CR LF newline handling for binary file headers.</li>
<li>Obj writer: Fix OBJ material files and face color (Thanks to Sven-Kristofer Pilz for the patch) </li>
<li>Obj writer: Fix OBJ writer bug file extension removal (Thanks to Katharina Breininger for the patch) </li>
</ul>
<b>Tools</b>
......
......@@ -115,7 +115,7 @@ write(const std::string& _filename, BaseExporter& _be, Options _opt, std::stream
}
//remove the file extension
dot = _filename.find_last_of(".");
dot = objName_.find_last_of(".");
if(dot != std::string::npos)
objName_ = objName_.substr(0,dot);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment