From 8d32f8e60121035e32e3e392a8bd010fcebcc17d Mon Sep 17 00:00:00 2001
From: Matti Pellika <matti.pellikka@tut.fi>
Date: Fri, 16 Nov 2012 06:54:58 +0000
Subject: [PATCH] Update the post-processing branch in the new menu tree after
 homology computations.

---
 Geo/Chain.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Geo/Chain.h b/Geo/Chain.h
index a1db553d08..df41d4f1aa 100644
--- a/Geo/Chain.h
+++ b/Geo/Chain.h
@@ -17,6 +17,10 @@
 #include "PViewOptions.h"
 #endif
 
+#if defined(HAVE_FLTK)
+#include "FlGui.h"
+#endif
+
 #if defined(HAVE_KBIPACK)
 
 template <class TTypeA, class TTypeB>
@@ -515,6 +519,9 @@ void Chain<C>::addToModel(GModel* m, bool post,
     if(opt->tangents == 0) opt->tangents = size;
     if(opt->normals == 0) opt->normals = size;
     view->setOptions(opt);
+#if defined(HAVE_FLTK)
+    FlGui::instance()->rebuildTree();
+#endif
   }
 #endif
 }
-- 
GitLab