diff --git a/Geo/Chain.h b/Geo/Chain.h index a1db553d08707313a0d2af57fb59dc1161e5d370..df41d4f1aadc5793d5078c03615e7325aeeb874a 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 }