mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 06:30:34 +05:00
Merge branch 'master' into gni/adaptation
This commit is contained in:
commit
4f27d56bda
@ -2052,8 +2052,7 @@ void SMESH_Mesh_i::ReplaceShape(GEOM::GEOM_Object_ptr theNewGeom)
|
|||||||
bool geomChanged = true;
|
bool geomChanged = true;
|
||||||
GEOM::GEOM_Object_var oldGeom = GetShapeToMesh();
|
GEOM::GEOM_Object_var oldGeom = GetShapeToMesh();
|
||||||
if ( !theNewGeom->_is_nil() && !oldGeom->_is_nil() )
|
if ( !theNewGeom->_is_nil() && !oldGeom->_is_nil() )
|
||||||
geomChanged = ( //oldGeom->_is_equivalent( theNewGeom ) ||
|
geomChanged = ( oldGeom->GetTick() != theNewGeom->GetTick() );
|
||||||
oldGeom->GetTick() < theNewGeom->GetTick() );
|
|
||||||
|
|
||||||
TopoDS_Shape S = _impl->GetShapeToMesh();
|
TopoDS_Shape S = _impl->GetShapeToMesh();
|
||||||
GEOM_Client* geomClient = _gen_i->GetShapeReader();
|
GEOM_Client* geomClient = _gen_i->GetShapeReader();
|
||||||
|
@ -2094,7 +2094,7 @@ bool _FaceSide::StoreNodes(SMESH_ProxyMesh& mesh,
|
|||||||
smToCheckEdges, mesh ))
|
smToCheckEdges, mesh ))
|
||||||
break;
|
break;
|
||||||
else
|
else
|
||||||
nodes.erase( --( u_node1.base() ));
|
nodes.erase( --(( u_node2 = u_node1 ).base() ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user