mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-01 13:45:38 +05:00
Bug IPAL20034 Error after Find geometry by mesh element selection,if element is selected,but mesh isn't created.Regress.
This commit is contained in:
parent
cba44c5492
commit
b4aed9ff1c
@ -288,8 +288,9 @@ void SMESHGUI_ShapeByMeshOp::commitOperation()
|
||||
if (aListId.count() == 1)
|
||||
{
|
||||
int elemID = (aListId.first()).toInt();
|
||||
myGeomObj = SMESHGUI::GetSMESHGen()->GetGeometryByMeshElement
|
||||
( myMesh.in(), elemID, myDlg->myGeomName->text().latin1());
|
||||
myGeomObj = GEOM::GEOM_Object::_duplicate(
|
||||
SMESHGUI::GetSMESHGen()->GetGeometryByMeshElement
|
||||
( myMesh.in(), elemID, myDlg->myGeomName->text().latin1()) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user