GCodeViewer -> Fixed z slider in initial preview

This commit is contained in:
enricoturri1966 2020-04-29 10:18:29 +02:00
parent c9bd0840b3
commit cd5d70d5e1
5 changed files with 17 additions and 17 deletions

View file

@ -340,8 +340,6 @@ BoundingBoxf3 GLVolume::transformed_convex_hull_bounding_box(const Transform3d &
bounding_box().transformed(trafo);
}
#if !ENABLE_GCODE_VIEWER
void GLVolume::set_range(double min_z, double max_z)
{
this->qverts_range.first = 0;
@ -376,7 +374,6 @@ void GLVolume::set_range(double min_z, double max_z)
}
}
}
#endif // !ENABLE_GCODE_VIEWER
void GLVolume::render() const
{