mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-27 12:18:37 +05:00
initial SPV3D support
This commit is contained in:
parent
6a1419f65d
commit
1c0033e863
@ -105,7 +105,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() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user