mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 21:21:21 +05:00
Do not create the SMESH engine at module initialisation. It must be created at the first GUI command, else the loading study fail. It should fix the bug KERNEL5238.
This commit is contained in:
parent
02bbf97f10
commit
2d6b256c47
@ -99,7 +99,7 @@ SMESHGUI_StudyAPI::SMESHGUI_StudyAPI ( SALOMEDS::Study_ptr aStudy,
|
||||
// NRI
|
||||
|
||||
SALOMEDS::SComponent_var father = aStudy->FindComponent("MESH");
|
||||
SALOMEDS::GenericAttribute_var anAttr;
|
||||
/*SALOMEDS::GenericAttribute_var anAttr;
|
||||
SALOMEDS::AttributeName_var aName;
|
||||
SALOMEDS::AttributePixMap_var aPixmap;
|
||||
|
||||
@ -115,7 +115,7 @@ SMESHGUI_StudyAPI::SMESHGUI_StudyAPI ( SALOMEDS::Study_ptr aStudy,
|
||||
aPixmap->SetPixMap( "ICON_OBJBROWSER_SMESH" );
|
||||
|
||||
myStudyBuilder->DefineComponentInstance(father, CompMesh );
|
||||
mySComponentMesh = SALOMEDS::SComponent::_narrow( father );
|
||||
mySComponentMesh = SALOMEDS::SComponent::_narrow( father );*/
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user