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:
wmayer
2020-07-17 18:12:21 +02:00
parent 67a986bb2d
commit af42f439d9
3 changed files with 3 additions and 3 deletions

View File

@@ -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)