mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
windows port
This commit is contained in:
parent
e62fe64c08
commit
a5001f9559
@ -317,7 +317,7 @@ void SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(const int theId, const
|
||||
if ( qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] ) ) {
|
||||
SMESHGUI_SpinBox* sb = qobject_cast<SMESHGUI_SpinBox*>( myWidgets[ theId ] );
|
||||
double val = sb->GetValue();
|
||||
double min = pow(10, -(sb->decimals()));
|
||||
double min = pow(10.0, -(sb->decimals()));
|
||||
sb->RangeStepAndValidator( 0., 1.e20, 0.1, precision ? precision : "len_tol_precision" );
|
||||
sb->SetValue( qMax( val, min ) );
|
||||
}
|
||||
|
@ -25,6 +25,10 @@
|
||||
// Author : Nicolas REJNERI
|
||||
// Module : SMESH
|
||||
//
|
||||
#ifdef WNT
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include "SMESH_MeshEditor_i.hxx"
|
||||
|
||||
#include "SMDS_Mesh0DElement.hxx"
|
||||
|
@ -60,7 +60,7 @@ namespace
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
class SMDS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
|
||||
class STDMESHERS_EXPORT Q2TAdaptor_Triangle : public SMDS_MeshFace
|
||||
{
|
||||
const SMDS_MeshNode* _nodes[3];
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user