UI: fixed naming sphere is not a cylinder.

This commit is contained in:
Joseph Lenox 2016-12-05 23:08:12 +00:00 committed by bubnikv
parent 2971235299
commit 6aecae3121
2 changed files with 5 additions and 5 deletions

View file

@ -351,7 +351,7 @@ sub on_btn_lambda {
} elsif ($type eq "cylinder") {
$mesh = Slic3r::TriangleMesh::cylinder($params->{"cyl_r"}, $params->{"cyl_h"});
} elsif ($type eq "sphere") {
$mesh = Slic3r::TriangleMesh::sphere($params->{"cyl_rho"});
$mesh = Slic3r::TriangleMesh::sphere($params->{"sph_rho"});
} else {
return;
}