UI: fixed naming sphere is not a cylinder.

This commit is contained in:
Joseph Lenox authored and bubnikv committed 2017-02-21 16:29:32 +01:00
1 parent 2971235299
commit 6aecae3121
2 files changed
+5 -5

No files matched your search

+1 -1
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;
}