mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Print layers/tags/slices on stdout only if there are no export params -sheet/-data (fix #2143)
This commit is contained in:
parent
eb2e0e52dc
commit
dcdde74cba
@ -523,21 +523,24 @@ void CliProcessor::process(Context* ctx)
|
||||
#endif
|
||||
// --list-layers
|
||||
else if (opt == &m_options.listLayers()) {
|
||||
cof.listLayers = true;
|
||||
if (m_exporter)
|
||||
m_exporter->setListLayers(true);
|
||||
else
|
||||
cof.listLayers = true;
|
||||
}
|
||||
// --list-tags
|
||||
else if (opt == &m_options.listTags()) {
|
||||
cof.listTags = true;
|
||||
if (m_exporter)
|
||||
m_exporter->setListFrameTags(true);
|
||||
else
|
||||
cof.listTags = true;
|
||||
}
|
||||
// --list-slices
|
||||
else if (opt == &m_options.listSlices()) {
|
||||
cof.listSlices = true;
|
||||
if (m_exporter)
|
||||
m_exporter->setListSlices(true);
|
||||
else
|
||||
cof.listSlices = true;
|
||||
}
|
||||
// --oneframe
|
||||
else if (opt == &m_options.oneFrame()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user