mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
Don't check the temperature of multi filament for multi toolhead printers (#3649)
do not check the temperature of multi filaments for multi toolhead printers
This commit is contained in:
parent
82ead12cde
commit
e92be73894
1 changed files with 2 additions and 1 deletions
|
@ -1043,6 +1043,7 @@ boost::regex regex_g92e0 { "^[ \\t]*[gG]92[ \\t]*[eE](0(\\.0*)?|\\.0+)[ \\t]*(;.
|
|||
StringObjectException Print::validate(StringObjectException *warning, Polygons* collison_polygons, std::vector<std::pair<Polygon, float>>* height_polygons) const
|
||||
{
|
||||
std::vector<unsigned int> extruders = this->extruders();
|
||||
unsigned int nozzles = m_config.nozzle_diameter.size();
|
||||
|
||||
if (m_objects.empty())
|
||||
return {std::string()};
|
||||
|
@ -1050,7 +1051,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
|
|||
if (extruders.empty())
|
||||
return { L("No extrusions under current settings.") };
|
||||
|
||||
if (extruders.size() > 1 && m_config.print_sequence != PrintSequence::ByObject) {
|
||||
if (nozzles < 2 && extruders.size() > 1 && m_config.print_sequence != PrintSequence::ByObject) {
|
||||
auto ret = check_multi_filament_valid(*this);
|
||||
if (!ret.string.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue