mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
3rd attempt to fix opengl initialization on linux
This commit is contained in:
@@ -2194,7 +2194,7 @@ sub load_object {
|
||||
$instance_idxs ||= [0..$#{$model_object->instances}];
|
||||
#==============================================================================================================================
|
||||
my $volume_indices = $self->volumes->load_object(
|
||||
$model_object, $obj_idx, $instance_idxs, $self->color_by, $self->select_by, $self->drag_by, $useVBOs);
|
||||
$model_object, $obj_idx, $instance_idxs, $self->color_by, $self->select_by, $self->drag_by, $useVBOs && Slic3r::GUI::_3DScene::is_shader_enabled($self));
|
||||
# my $volume_indices = $self->volumes->load_object(
|
||||
# $model_object, $obj_idx, $instance_idxs, $self->color_by, $self->select_by, $self->drag_by,
|
||||
# $self->UseVBOs);
|
||||
|
||||
Reference in New Issue
Block a user