From a6076f7a28ae05260222fa9f509655a407f51caf Mon Sep 17 00:00:00 2001 From: valerio <valerio@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Thu, 10 Jun 2010 08:48:11 +0000 Subject: [PATCH] Fix for map wireframe bug git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2371 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/gfx/src/map_iso.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gfx/src/map_iso.cc b/modules/gfx/src/map_iso.cc index 06183729a..4d49ce68c 100644 --- a/modules/gfx/src/map_iso.cc +++ b/modules/gfx/src/map_iso.cc @@ -160,6 +160,7 @@ void MapIso::OnRenderModeChange() va_.SetMode(0x2); // only lines va_.SetTwoSided(true); } + this->FlagRebuild(); GfxObj::OnRenderModeChange(); } @@ -167,9 +168,8 @@ void MapIso::CustomPreRenderGL(bool flag) { if(flag) { Rebuild(); - } else { - //RefreshVA(va_); } + RefreshVA(va_); } namespace { -- GitLab