mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021338: EDF 1926 SMESH: New controls and filters
get Tolerance for "Double nodes" from Preferences
This commit is contained in:
parent
80543409ed
commit
c6edb52c8e
@ -692,9 +692,14 @@ SetControlMode(eControl theMode,
|
||||
myControlActor = my2DActor;
|
||||
break;
|
||||
case eCoincidentNodes:
|
||||
myFunctor.reset(new SMESH::Controls::CoincidentNodes());
|
||||
myControlActor = myNodeActor;
|
||||
break;
|
||||
{
|
||||
SMESH::Controls::CoincidentNodes* cn = new SMESH::Controls::CoincidentNodes();
|
||||
double tol = mgr->doubleValue( "SMESH", "equal_nodes_tolerance", 1e-7 );
|
||||
cn->SetTolerance( tol );
|
||||
myFunctor.reset(cn);
|
||||
myControlActor = myNodeActor;
|
||||
break;
|
||||
}
|
||||
case eCoincidentElems1D:
|
||||
myFunctor.reset(new SMESH::Controls::CoincidentElements1D());
|
||||
myControlActor = my1DActor;
|
||||
|
Loading…
Reference in New Issue
Block a user