Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements 'trim-by-grid' CL option #2010

Closed
wants to merge 6 commits into from

Conversation

dncampo
Copy link
Contributor

@dncampo dncampo commented Feb 11, 2019

aseprite --trim-by-grid --sheet
(#1926 )

else if (opt == &m_options.trimByGrid()) {
cof.trimByGrid = true;
if (m_exporter)
m_exporter->setTrimByGrid(true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we talked in the email, I think here we can call m_exporter->setTrimCels(true); too.

@dacap
Copy link
Member

dacap commented Feb 13, 2019

Please try to use commit -amend and push -force to make easier the merge and avoid a lot of little commits.

Please also give you a time for testing.

@@ -37,6 +37,7 @@ namespace app {
bool listSlices;
bool ignoreEmpty;
bool trim;
bool trimByGrid;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About this field you have two options:

  1. Remove it from this PR (because it's not used)
  2. Or complete this PR with the trim-by-grid support for --save-as

@dacap
Copy link
Member

dacap commented Mar 22, 2019

Merged --squash in f24eb75

Some minor changes after that in 60e8a59 and 674f9ff

@dacap dacap closed this Mar 22, 2019
@dncampo dncampo deleted the trim-by-grid-CLI branch March 23, 2019 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants