diff options
author | Jonathan Liu | 2016-07-13 10:56:34 +1000 |
---|---|---|
committer | Jonathan Liu | 2016-07-13 10:56:34 +1000 |
commit | cd9e49e4d6648d8e7ef7c3118cacf6f04a0ca62a (patch) | |
tree | 9e7eefb795df62b83ce1d88f2452e8878a6295f6 /read_ply.patch | |
parent | 9ac98e95034e183979d1ca47432ca9a693501d2e (diff) | |
download | aur-cd9e49e4d6648d8e7ef7c3118cacf6f04a0ca62a.tar.gz |
Update to 1.4.0-3
Diffstat (limited to 'read_ply.patch')
-rw-r--r-- | read_ply.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/read_ply.patch b/read_ply.patch new file mode 100644 index 000000000000..b95db16f881c --- /dev/null +++ b/read_ply.patch @@ -0,0 +1,12 @@ +diff -Nur carve-1.4.0.orig/common/read_ply.cpp carve-1.4.0/common/read_ply.cpp +--- carve-1.4.0.orig/common/read_ply.cpp 2011-08-27 06:17:26.000000000 +1000 ++++ carve-1.4.0/common/read_ply.cpp 2016-07-13 10:52:18.018913426 +1000 +@@ -255,7 +255,7 @@ + carve::poly::Polyhedron *readFile(std::istream &in, const carve::math::Matrix &transform) { + carve::input::Input inputs; + if (!readFile<filetype_t>(in, inputs, transform)) { +- return false; ++ return NULL; + } + for (std::list<carve::input::Data *>::const_iterator i = inputs.input.begin(); i != inputs.input.end(); ++i) { + carve::poly::Polyhedron *poly = inputs.create<carve::poly::Polyhedron>(*i); |