mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
This commit is contained in:
parent
27bba45331
commit
3ddaccb641
30 changed files with 261 additions and 246 deletions
|
@ -34,7 +34,7 @@ Fill* Fill::new_from_type(const InfillPattern type)
|
|||
case ipArchimedeanChords: return new FillArchimedeanChords();
|
||||
case ipHilbertCurve: return new FillHilbertCurve();
|
||||
case ipOctagramSpiral: return new FillOctagramSpiral();
|
||||
default: CONFESS("unknown type"); return nullptr;
|
||||
default: throw std::invalid_argument("unknown type");;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue