Re-added the ability to move part meshes relative to another part mesh in the same object. (#4119)

This commit is contained in:
Joseph Lenox 2017-09-05 17:14:08 -05:00 committed by GitHub
parent 8aff101f9f
commit 3e55603c1a

View File

@ -297,7 +297,6 @@ sub selection_changed {
# attach volume config to settings panel
my $volume = $self->{model_object}->volumes->[ $itemData->{volume_id} ];
if ($volume->modifier) {
my $movers = $self->{optgroup_movers};
my $obj_bb = $self->{model_object}->raw_bounding_box;
@ -311,9 +310,7 @@ sub selection_changed {
$movers->get_field('z')->set_value($vol_bb->z_min);
$self->{left_sizer}->Show($movers->sizer);
} else {
$self->{left_sizer}->Hide($self->{optgroup_movers}->sizer);
}
$config = $volume->config;
$self->{staticbox}->SetLabel('Part Settings');