mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fix a lag when starting to move a platter object.
The fix is done by disabling the print out of a model statistics, which runs the model fixing twice.
This commit is contained in:
@@ -1983,7 +1983,8 @@ sub selection_changed {
|
||||
if ($self->{object_info_size}) { # have we already loaded the info pane?
|
||||
if ($have_sel) {
|
||||
my $model_object = $self->{model}->objects->[$obj_idx];
|
||||
$model_object->print_info;
|
||||
#FIXME print_info runs model fixing in two rounds, it is very slow, it should not be performed here!
|
||||
# $model_object->print_info;
|
||||
my $model_instance = $model_object->instances->[0];
|
||||
$self->{object_info_size}->SetLabel(sprintf("%.2f x %.2f x %.2f", @{$model_object->instance_bounding_box(0)->size}));
|
||||
$self->{object_info_materials}->SetLabel($model_object->materials_count);
|
||||
|
||||
Reference in New Issue
Block a user