mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
WIP still with arrange return value.
This commit is contained in:
parent
b5215dae1b
commit
e81f8a5fd9
8 changed files with 78 additions and 79 deletions
|
@ -192,7 +192,7 @@ public:
|
|||
return Unit(width())*height();
|
||||
}
|
||||
|
||||
static inline _Box infinite(const P ¢er);
|
||||
static inline _Box infinite(const P ¢er = {TCoord<P>(0), TCoord<P>(0)});
|
||||
};
|
||||
|
||||
template<class S> struct PointType<_Box<S>> {
|
||||
|
|
|
@ -908,7 +908,8 @@ private:
|
|||
item.removeOffset();
|
||||
});
|
||||
|
||||
if(stopfn_ && !stopfn_()) { // Ignore results if nesting was stopped.
|
||||
if(!stopfn_ || (stopfn_ && !stopfn_())) {
|
||||
// Ignore results if nesting was stopped.
|
||||
const PackGroup& bins = lastResult();
|
||||
unsigned binidx = 0;
|
||||
for(auto& bin : bins) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue