Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators

This commit is contained in:
Enrico Turri 2018-05-03 09:11:26 +02:00
commit 97ea02d974

View file

@ -1152,11 +1152,7 @@ sub InitGL {
$self->volumes->finalize_geometry(1)
if ($^O eq 'linux' && $self->UseVBOs);
if (scalar @{$self->volumes} > 0) {
$self->zoom_to_volumes;
} else {
$self->zoom_to_bed;
}
$self->zoom_to_bed;
glClearColor(0, 0, 0, 1);
glColor3f(1, 0, 0);