From 796e2338abc5625c22f9348d8362a5d00eb4ec2c Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Thu, 21 Dec 2017 01:19:50 +0100 Subject: [PATCH] Added two const in color PerVertexThresholding --- vcg/complex/algorithms/update/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/update/color.h b/vcg/complex/algorithms/update/color.h index 1e91839e..8a24b5aa 100644 --- a/vcg/complex/algorithms/update/color.h +++ b/vcg/complex/algorithms/update/color.h @@ -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::Black, Color4b c2 = Color4::White, const bool ProcessSelected=false) +static int PerVertexThresholding(MeshType &m, float threshold, const Color4b c1 = Color4::Black, const Color4b c2 = Color4::White, const bool ProcessSelected=false) { RequirePerVertexColor(m);