GCodeViewer -> Layers z slider wip

This commit is contained in:
enricoturri1966 2020-04-27 11:44:29 +02:00
parent c76bf934f7
commit a6ed1d817a
12 changed files with 104 additions and 30 deletions

View file

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