Decimate only on selected vertices, Fixed ugly typo

This commit is contained in:
Jan Möbius
2020-06-19 13:54:45 +02:00
parent cc510502f3
commit ddf15b3bf4
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ public:
size_t decimate_to( size_t _n_vertices , bool _only_selected = false) size_t decimate_to( size_t _n_vertices , bool _only_selected = false)
{ {
return ( (_n_vertices < this->mesh().n_vertices()) ? return ( (_n_vertices < this->mesh().n_vertices()) ?
decimate( this->mesh().n_vertices() - _n_vertices ) : 0 , _only_selected); decimate( this->mesh().n_vertices() - _n_vertices , _only_selected ) : 0 );
} }
/** /**

View File

@@ -122,7 +122,7 @@ public:
size_t decimate_to( size_t _n_vertices , bool _only_selected = false) size_t decimate_to( size_t _n_vertices , bool _only_selected = false)
{ {
return ( (_n_vertices < this->mesh().n_vertices()) ? return ( (_n_vertices < this->mesh().n_vertices()) ?
decimate( this->mesh().n_vertices() - _n_vertices ) : 0 , _only_selected); decimate( this->mesh().n_vertices() - _n_vertices , _only_selected ) : 0 );
} }
/** /**