Removed obsolete code leading to assert on MAC
This commit is contained in:
parent
9fc2d5b337
commit
da0a5b5cfb
@ -758,11 +758,6 @@ void GCodeViewer::init()
|
|||||||
// initializes tool marker
|
// initializes tool marker
|
||||||
m_sequential_view.marker.init();
|
m_sequential_view.marker.init();
|
||||||
|
|
||||||
// initializes point sizes
|
|
||||||
std::array<int, 2> point_sizes;
|
|
||||||
::glGetIntegerv(GL_ALIASED_POINT_SIZE_RANGE, point_sizes.data());
|
|
||||||
m_detected_point_sizes = { static_cast<float>(point_sizes[0]), static_cast<float>(point_sizes[1]) };
|
|
||||||
|
|
||||||
m_gl_data_initialized = true;
|
m_gl_data_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -809,7 +809,6 @@ private:
|
|||||||
#if ENABLE_GCODE_VIEWER_STATISTICS
|
#if ENABLE_GCODE_VIEWER_STATISTICS
|
||||||
Statistics m_statistics;
|
Statistics m_statistics;
|
||||||
#endif // ENABLE_GCODE_VIEWER_STATISTICS
|
#endif // ENABLE_GCODE_VIEWER_STATISTICS
|
||||||
std::array<float, 2> m_detected_point_sizes = { 0.0f, 0.0f };
|
|
||||||
GCodeProcessorResult::SettingsIds m_settings_ids;
|
GCodeProcessorResult::SettingsIds m_settings_ids;
|
||||||
std::array<SequentialRangeCap, 2> m_sequential_range_caps;
|
std::array<SequentialRangeCap, 2> m_sequential_range_caps;
|
||||||
#if ENABLE_PREVIEW_LAYER_TIME
|
#if ENABLE_PREVIEW_LAYER_TIME
|
||||||
|
Loading…
Reference in New Issue
Block a user