From 1447f4b770882086fa6aab59b22a071bea9e1e2a Mon Sep 17 00:00:00 2001 From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Tue, 9 Mar 2010 08:40:02 +0000 Subject: [PATCH] map iso. set line width of VertexArray after every rebuild fixes BZDNG-77 git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1790 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/gfx/src/map_iso.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gfx/src/map_iso.cc b/modules/gfx/src/map_iso.cc index 2dec10e3b..9c7f1c878 100644 --- a/modules/gfx/src/map_iso.cc +++ b/modules/gfx/src/map_iso.cc @@ -119,6 +119,7 @@ void MapIso::OnRenderModeChange() render_mode_=RenderMode::SIMPLE; va_.SetLighting(false); va_.SetCullFace(false); + va_.SetLineWidth(this->GetLineWidth()); va_.SetMode(0x2); // only lines va_.SetTwoSided(true); } -- GitLab