PVS: V612 The '(4) / 3' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part
This commit is contained in:
@@ -109,7 +109,7 @@ bool ViewProviderFemConstraintFluidBoundary::setEdit(int ModNum)
|
||||
|
||||
//Rendering: Combination of ConstraintFixed and ConstraintForce
|
||||
#define ARROWLENGTH (4)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3.0f)
|
||||
#define WIDTH (2)
|
||||
#define HEIGHT (1)
|
||||
//#define USE_MULTIPLE_COPY //OvG: MULTICOPY fails to update scaled display on initial drawing - so disable
|
||||
|
||||
@@ -109,7 +109,7 @@ bool ViewProviderFemConstraintForce::setEdit(int ModNum)
|
||||
}
|
||||
|
||||
#define ARROWLENGTH (4)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3.0f)
|
||||
//#define USE_MULTIPLE_COPY //OvG: MULTICOPY fails to update scaled arrows on initial drawing - so disable
|
||||
|
||||
void ViewProviderFemConstraintForce::updateData(const App::Property* prop)
|
||||
|
||||
@@ -91,7 +91,7 @@ bool ViewProviderFemConstraintPressure::setEdit(int ModNum)
|
||||
}
|
||||
|
||||
#define ARROWLENGTH (4)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3)
|
||||
#define ARROWHEADRADIUS (ARROWLENGTH/3.0f)
|
||||
//#define USE_MULTIPLE_COPY //OvG: MULTICOPY fails to update scaled arrows on initial drawing - so disable
|
||||
|
||||
void ViewProviderFemConstraintPressure::updateData(const App::Property* prop)
|
||||
|
||||
Reference in New Issue
Block a user