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=aa00dc28ddce5a324d50512f820c2f0132d672c1;p=modules%2Fsmesh.git initial SPV3D support --- diff --git a/src/SMESHGUI/SMESHGUI_Displayer.cxx b/src/SMESHGUI/SMESHGUI_Displayer.cxx index 7c76db556..ca1161e91 100644 --- a/src/SMESHGUI/SMESHGUI_Displayer.cxx +++ b/src/SMESHGUI/SMESHGUI_Displayer.cxx @@ -94,7 +94,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() );