Sequential Mode: Improved error message to explain that the spiral mode
may be enabled for multiple objects in sequential mode. Fixes Allow for multiple objects while Spiral Vase mode is on #2500
This commit is contained in:
parent
13b968186e
commit
fb7098e542
@ -1266,7 +1266,8 @@ std::string Print::validate() const
|
|||||||
total_copies_count += object->instances().size();
|
total_copies_count += object->instances().size();
|
||||||
// #4043
|
// #4043
|
||||||
if (total_copies_count > 1 && ! m_config.complete_objects.value)
|
if (total_copies_count > 1 && ! m_config.complete_objects.value)
|
||||||
return L("The Spiral Vase option can only be used when printing a single object.");
|
return L("Only a single object may be printed at a time in Spiral Vase mode. "
|
||||||
|
"Either remove all but the last object, or enable sequential mode by \"complete_objects\".");
|
||||||
assert(m_objects.size() == 1);
|
assert(m_objects.size() == 1);
|
||||||
size_t num_regions = 0;
|
size_t num_regions = 0;
|
||||||
for (const std::vector<std::pair<t_layer_height_range, int>> &volumes_per_region : m_objects.front()->region_volumes)
|
for (const std::vector<std::pair<t_layer_height_range, int>> &volumes_per_region : m_objects.front()->region_volumes)
|
||||||
|
Loading…
Reference in New Issue
Block a user