Added two const in color PerVertexThresholding

This commit is contained in:
Paolo Cignoni 2017-12-21 01:19:50 +01:00
parent 142ec158f6
commit 796e2338ab
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ static void PerVertexAddNoise(MeshType& m, int noiseBits, bool onSelected=false)
/*! \brief Reduces vertex color the mesh to two colors according to a threshold.
*/
static int PerVertexThresholding(MeshType &m, float threshold, Color4b c1 = Color4<unsigned char>::Black, Color4b c2 = Color4<unsigned char>::White, const bool ProcessSelected=false)
static int PerVertexThresholding(MeshType &m, float threshold, const Color4b c1 = Color4<unsigned char>::Black, const Color4b c2 = Color4<unsigned char>::White, const bool ProcessSelected=false)
{
RequirePerVertexColor(m);