Skip to content

Commit

Permalink
Remove support for the "default" option in writers.ply.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Mar 12, 2020
1 parent f1318c5 commit b5ad123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions doc/stages/writers.ply.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ filename

storage_mode
Type of ply file to write. Valid values are 'ascii', 'little endian',
'big endian', and 'default'. 'default' is binary output in the endianness
of the machine. [Default: "ascii"]
'big endian'. [Default: "ascii"]

dims
List of dimensions (and :ref:`types`) in the format
Expand Down
2 changes: 1 addition & 1 deletion io/PlyWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ inline std::istream& operator>>(std::istream& in, PlyWriter::Format& f)
std::getline(in, s);
Utils::trim(s);
Utils::tolower(s);
if (s == "ascii" || s == "default")
if (s == "ascii")
f = PlyWriter::Format::Ascii;
else if (s == "little endian" || s == "binary_little_endian")
f = PlyWriter::Format::BinaryLe;
Expand Down

0 comments on commit b5ad123

Please sign in to comment.