From aa00dc28ddce5a324d50512f820c2f0132d672c1 Mon Sep 17 00:00:00 2001 From: mbs Date: Mon, 27 Mar 2023 08:52:33 +0100 Subject: [PATCH] initial SPV3D support --- src/SMESHGUI/SMESHGUI_Displayer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() );