mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 08:52:01 +08:00
Only enable movers if modifier mesh.
This commit is contained in:
parent
2875624eac
commit
a26a60f8dd
@ -268,10 +268,15 @@ sub selection_changed {
|
||||
$self->{canvas}->volumes->[ $itemData->{volume_id} ]{selected} = 1;
|
||||
}
|
||||
$self->{btn_delete}->Enable;
|
||||
$self->{optgroup_movers}->enable;
|
||||
|
||||
# attach volume config to settings panel
|
||||
my $volume = $self->{model_object}->volumes->[ $itemData->{volume_id} ];
|
||||
|
||||
if ($volume->modifier) {
|
||||
$self->{optgroup_movers}->enable;
|
||||
} else {
|
||||
$self->{optgroup_movers}->disable;
|
||||
}
|
||||
$config = $volume->config;
|
||||
$self->{staticbox}->SetLabel('Part Settings');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user