diff --git a/vcg/complex/append.h b/vcg/complex/append.h index 33229da3..1ee99c1d 100644 --- a/vcg/complex/append.h +++ b/vcg/complex/append.h @@ -460,7 +460,7 @@ static void MeshAppendConst( } fl.ImportData(f); if(wedgeTexFlag) { - for(int i = 0; i < fl.VN(); ++i){ + for(int i = 0; i < 3; ++i){ if (size_t(f.WT(i).n()) < mappingTextures.size()){ //standard case: the texture is contained in the mesh fl.WT(i).n() = mappingTextures[f.WT(i).n()];