mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
WIP still with arrange return value.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user