#4880 - Initialization of OpenGL data used by GCodeViewer done on the first call of GCodeViewer::render()

This commit is contained in:
enricoturri1966 2020-10-17 13:04:58 +02:00
parent c2f5cef8a4
commit ce3fc31b48
3 changed files with 19 additions and 10 deletions

View file

@ -410,7 +410,7 @@ private:
#if ENABLE_GCODE_VIEWER_STATISTICS
mutable Statistics m_statistics;
#endif // ENABLE_GCODE_VIEWER_STATISTICS
std::array<float, 2> m_detected_point_sizes = { 0.0f, 0.0f };
mutable std::array<float, 2> m_detected_point_sizes = { 0.0f, 0.0f };
public:
GCodeViewer() = default;