initial SPV3D support

This commit is contained in:
mbs 2023-03-27 08:52:33 +01:00 committed by Anthony Geay
parent d1392dc034
commit aa00dc28dd

View File

@ -94,7 +94,7 @@ SalomeApp_Study* SMESHGUI_Displayer::study() const
bool SMESHGUI_Displayer::canBeDisplayed( const QString& entry, const QString& viewer_type ) const bool SMESHGUI_Displayer::canBeDisplayed( const QString& entry, const QString& viewer_type ) const
{ {
bool res = false; bool res = false;
if(viewer_type != SVTK_Viewer::Type()) if(viewer_type != SVTK_Viewer::Type() && viewer_type != SPV3D_ViewModel::Type())
return res; return res;
_PTR(SObject) obj = SMESH::getStudy()->FindObjectID( (const char*)entry.toUtf8() ); _PTR(SObject) obj = SMESH::getStudy()->FindObjectID( (const char*)entry.toUtf8() );