1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Only enable movers if modifier mesh.

This commit is contained in:
Joseph Lenox
2016-12-06 00:57:16 -06:00
committed by bubnikv
parent e2b56c4462
commit 873161ea7c
+6 -1
View File
@@ -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');