From: mbs Date: Mon, 27 Mar 2023 07:52:33 +0000 (+0100) Subject: initial SPV3D support X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c0033e86385d91568fabde95b04fc4484dc6904;p=modules%2Fsmesh.git initial SPV3D support --- diff --git a/src/SMESHGUI/SMESHGUI_Displayer.cxx b/src/SMESHGUI/SMESHGUI_Displayer.cxx index 8d588ebb3..895f45b7e 100644 --- a/src/SMESHGUI/SMESHGUI_Displayer.cxx +++ b/src/SMESHGUI/SMESHGUI_Displayer.cxx @@ -105,7 +105,7 @@ SalomeApp_Study* SMESHGUI_Displayer::study() const bool SMESHGUI_Displayer::canBeDisplayed( const QString& entry, const QString& viewer_type ) const { bool res = false; - if(viewer_type != SVTK_Viewer::Type()) + if(viewer_type != SVTK_Viewer::Type() && viewer_type != SPV3D_ViewModel::Type()) return res; _PTR(SObject) obj = SMESH::getStudy()->FindObjectID( (const char*)entry.toUtf8() );