mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 16:55:10 +01:00
fix: initialize the gauge's parameter type for CI
The gauge copies made for the duplicate submodels start from a default gauge, whose parameter type was left uninitialized (Sonar S836).
This commit is contained in:
@@ -105,7 +105,7 @@ private:
|
|||||||
float m_endscale { -1.f }; // scale applied to the value at the end of accepted value range
|
float m_endscale { -1.f }; // scale applied to the value at the end of accepted value range
|
||||||
float m_endvalue { -1.f }; // end value of accepted value range
|
float m_endvalue { -1.f }; // end value of accepted value range
|
||||||
bool m_interpolatescale { false };
|
bool m_interpolatescale { false };
|
||||||
char m_datatype; // typ zmiennej parametru: f-float, d-double, i-int
|
char m_datatype { '\0' }; // typ zmiennej parametru: f-float, d-double, i-int, b-bool; none until one is assigned
|
||||||
union {
|
union {
|
||||||
// wskaźnik na parametr pokazywany przez animację
|
// wskaźnik na parametr pokazywany przez animację
|
||||||
float *fData;
|
float *fData;
|
||||||
|
|||||||
Reference in New Issue
Block a user