Decimate only on selected vertices, Fixed ugly typo
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user