mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-12 21:51:48 +08:00
Initial zoom set to bed extent
This commit is contained in:
parent
8ad6053544
commit
a02bfdd2bc
@ -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;
|
||||
}
|
||||
|
||||
glClearColor(0, 0, 0, 1);
|
||||
glColor3f(1, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user