mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-16 02:28:34 +05:00
IPAL20694 Qt4 porting: Precision is not taken into account at controls representation
This commit is contained in:
parent
7cb0d55022
commit
3a41eb0de6
@ -120,8 +120,9 @@ SMESH_ActorDef::SMESH_ActorDef()
|
|||||||
|
|
||||||
myControlsPrecision = -1;
|
myControlsPrecision = -1;
|
||||||
SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr();
|
SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr();
|
||||||
|
|
||||||
if ( mgr && mgr->booleanValue( "SMESH", "use_precision", false ) )
|
if ( mgr && mgr->booleanValue( "SMESH", "use_precision", false ) )
|
||||||
myControlsPrecision = (long)SMESH::GetFloat( "SMESH", "controls_precision", -1 );
|
myControlsPrecision = mgr->integerValue( "SMESH", "controls_precision", -1);
|
||||||
|
|
||||||
vtkFloatingPointType aPointSize = SMESH::GetFloat("SMESH:node_size",3);
|
vtkFloatingPointType aPointSize = SMESH::GetFloat("SMESH:node_size",3);
|
||||||
vtkFloatingPointType aLineWidth = SMESH::GetFloat("SMESH:element_width",1);
|
vtkFloatingPointType aLineWidth = SMESH::GetFloat("SMESH:element_width",1);
|
||||||
|
Loading…
Reference in New Issue
Block a user