From 6fd176d8af3fe665c26e3fd28a8f2a216fa1a467 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 17 Jul 2013 11:07:40 +0000
Subject: [PATCH] no physicals -> save all

---
 Geo/GModelIO_CELUM.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Geo/GModelIO_CELUM.cpp b/Geo/GModelIO_CELUM.cpp
index 38b7263cc2..c20b4b5bc9 100644
--- a/Geo/GModelIO_CELUM.cpp
+++ b/Geo/GModelIO_CELUM.cpp
@@ -31,6 +31,8 @@ int GModel::writeCELUM(const std::string &name, bool saveAll,
     return 0;
   }
 
+  if(noPhysicalGroups()) saveAll = true;
+
   // count faces and vertices; the CELUM format duplicates vertices on the
   // boundary of CAD patches
   int numf = 0, nums = 0;
-- 
GitLab