From f917fa477b6fc139387f4c05ed7012d56470c690 Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Sun, 26 Dec 2010 12:46:03 +0100 Subject: [PATCH] Don't display profile normals in SLINE mode --- modules/gfx/src/impl/sline_renderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gfx/src/impl/sline_renderer.cc b/modules/gfx/src/impl/sline_renderer.cc index 4d26f46e2..2b54046dd 100644 --- a/modules/gfx/src/impl/sline_renderer.cc +++ b/modules/gfx/src/impl/sline_renderer.cc @@ -83,7 +83,7 @@ void SlineRenderer::PrepareRendering(const BackboneTrace& trace_subset, VertexID p1 = va.Add(sit->position, geom::Vec3(),sit->color1); va.AddLine(p0,p1); p0=p1; -#if 1 +#if 0 VertexID p2 = va.Add(sit->position+sit->direction,geom::Vec3(),Color(0,1,0)); VertexID p3 = va.Add(sit->position+sit->normal,geom::Vec3(),Color(1,0,0)); VertexID p4 = va.Add(sit->position+sit->v2,geom::Vec3(),Color(1,0,1)); -- GitLab