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 0dee5a6199d278ff2fb4299cf2cef67ba16ded6e)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user