diff --git a/src/model/GModelSky.cpp b/src/model/GModelSky.cpp index 30d6383..96d4eef 100644 --- a/src/model/GModelSky.cpp +++ b/src/model/GModelSky.cpp @@ -1151,6 +1151,11 @@ void GModelSky::set_type(void) m_type = "ExtendedSource"; } + // ... otherwise, is spatial model an elliptical source? + else if (dynamic_cast(m_spatial) != NULL) { + m_type = "ExtendedSource"; + } + // ... otherwise we have a diffuse model else { m_type = "DiffuseSource";