Added two const in color PerVertexThresholding
This commit is contained in:
parent
142ec158f6
commit
796e2338ab
|
|
@ -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.
|
/*! \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);
|
RequirePerVertexColor(m);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue