mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
initial SPV3D support
This commit is contained in:
parent
d1392dc034
commit
aa00dc28dd
@ -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() );
|
||||||
|
Loading…
Reference in New Issue
Block a user