mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-16 19:21:12 +00:00
Add padding support for --sheet-pack
This commit is contained in:
parent
30798435d1
commit
14c1bceb4c
@ -356,9 +356,7 @@ class DocExporter::BestFitLayoutSamples :
|
||||
public DocExporter::LayoutSamples {
|
||||
public:
|
||||
void layoutSamples(Samples& samples, int borderPadding, int shapePadding, int& width, int& height) override {
|
||||
gfx::PackingRects pr;
|
||||
|
||||
// TODO Add support for shape paddings
|
||||
gfx::PackingRects pr(borderPadding, shapePadding);
|
||||
|
||||
for (auto& sample : samples) {
|
||||
if (sample.isDuplicated() ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user