mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-06 06:58:15 +00:00
Fixed default sprite sheet type used by -sheet in the CLI to "rows"
Older versions of Aseprite used the rows as a default type (not horizontal), because if we specified -split-layers, each layer would have its own row.
This commit is contained in:
parent
11da527490
commit
3bb4ab4a75
@ -568,9 +568,9 @@ void CliProcessor::process(Context* ctx)
|
||||
}
|
||||
|
||||
if (m_exporter) {
|
||||
// Horizontal sprite sheet as the default type
|
||||
// Rows sprite sheet as the default type
|
||||
if (sheetType == SpriteSheetType::None)
|
||||
sheetType = SpriteSheetType::Horizontal;
|
||||
sheetType = SpriteSheetType::Rows;
|
||||
m_exporter->setSpriteSheetType(sheetType);
|
||||
|
||||
m_delegate->exportFiles(ctx, *m_exporter.get());
|
||||
|
Loading…
Reference in New Issue
Block a user