mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 21:40:39 +08:00
fix typo: 'layer height' instead of 'first layer height'
supermerill/SuperSlicer#2060
This commit is contained in:
parent
b1e044855e
commit
497736affe
@ -1633,7 +1633,7 @@ std::pair<PrintBase::PrintValidationError, std::string> Print::validate() const
|
|||||||
//check not-first layer
|
//check not-first layer
|
||||||
if (object->region_volumes[region_id].front().first.second > layer_height) {
|
if (object->region_volumes[region_id].front().first.second > layer_height) {
|
||||||
if (layer_height + EPSILON < min_layer_height)
|
if (layer_height + EPSILON < min_layer_height)
|
||||||
return { PrintBase::PrintValidationError::pveWrongSettings, (boost::format(L("First layer height can't be higher than %s")) % "min layer height").str() };
|
return { PrintBase::PrintValidationError::pveWrongSettings, (boost::format(L("Layer height can't be higher than %s")) % "min layer height").str() };
|
||||||
for (auto tuple : std::vector<std::pair<double, const char*>>{
|
for (auto tuple : std::vector<std::pair<double, const char*>>{
|
||||||
{nozzle_diameter, "nozzle diameter"},
|
{nozzle_diameter, "nozzle diameter"},
|
||||||
{max_layer_height, "max layer height"},
|
{max_layer_height, "max layer height"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user