Commit afc5101c authored by Jan Möbius's avatar Jan Möbius

Decimater: Added missing preprocess collapse call in size_t...

Decimater: Added missing preprocess collapse call in size_t DecimaterT<Mesh>::decimate(size_t _n_collapses)  (Thanks to Andrej Ivanis for the hint)

(cherry picked from commit 0dee5a61)
parent 6fcad880
Pipeline #1043 passed with stage
......@@ -60,6 +60,12 @@
<li>Obj writer: Fix OBJ material files and face color (Thanks to Sven-Kristofer Pilz for the patch) </li>
</ul>
<b>Tools</b>
<ul>
<li>Decimater: Added missing preprocess collapse call in size_t DecimaterT<Mesh>::decimate(size_t _n_collapses) (Thanks to Andrej Ivanis for the hint)</li>
</ul>
<b>Build System</b>
<ul>
......
......@@ -215,6 +215,9 @@ size_t DecimaterT<Mesh>::decimate(size_t _n_collapses) {
for (; vv_it.is_valid(); ++vv_it)
support.push_back(*vv_it);
// pre-processing
this->preprocess_collapse(ci);
// perform collapse
mesh_.collapse(v0v1);
++n_collapses;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment