mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 04:39:00 +08: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:
parent
777dc8c48b
commit
630b746cab
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user