From 1c0033e86385d91568fabde95b04fc4484dc6904 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 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() ); -- 2.39.2