mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Removed unneeded scene reloads when selecting objects
This commit is contained in:
parent
e9b83a20d0
commit
e2e4310322
5 changed files with 34 additions and 12 deletions
|
@ -1152,7 +1152,11 @@ sub InitGL {
|
|||
$self->volumes->finalize_geometry(1)
|
||||
if ($^O eq 'linux' && $self->UseVBOs);
|
||||
|
||||
$self->zoom_to_bed;
|
||||
if (scalar @{$self->volumes} > 0) {
|
||||
$self->zoom_to_volumes;
|
||||
} else {
|
||||
$self->zoom_to_bed;
|
||||
}
|
||||
|
||||
glClearColor(0, 0, 0, 1);
|
||||
glColor3f(1, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue