mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-06-21 03:52:55 +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;
|
||||
}
|
||||
$self->zoom_to_bed;
|
||||
|
||||
glClearColor(0, 0, 0, 1);
|
||||
glColor3f(1, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user