Salome HOME
PAL16774 (Crash after display of many groups)
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Displayer.cxx
index 6d205706eb1682a877ac30e16b9cb5ace5655032..e039e1311893953a777241418c90e3855a4c30aa 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -78,3 +78,8 @@ SalomeApp_Study* SMESHGUI_Displayer::study() const
 {
   return dynamic_cast<SalomeApp_Study*>( myApp->activeStudy() );
 }
+
+bool SMESHGUI_Displayer::canBeDisplayed( const QString& /*entry*/, const QString& viewer_type ) const
+{
+  return viewer_type==SVTK_Viewer::Type();
+}