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

Sprites #85

Merged
merged 18 commits into from
Feb 1, 2020
Merged

Sprites #85

merged 18 commits into from
Feb 1, 2020

Conversation

fundies
Copy link
Contributor

@fundies fundies commented Jan 13, 2020

No description provided.

emit endResetModel();
}

void RepeatedStringModel::SwapBack(int left, int part, int right) {
Copy link
Member

Choose a reason for hiding this comment

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

You can probably inherit this, among other methods here, from a base class, using CRTP if necessary.

})
}
};
{
Copy link
Member

Choose a reason for hiding this comment

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

oh my god did clang do this?

for (int j = 0; j < refl->FieldSize(*protobuf, field); j++) {
subModels.strings[field->number()].append(QString::fromStdString(refl->GetRepeatedString(*protobuf, field, j)));
}
if (field->name() == "subimages")
Copy link
Member

Choose a reason for hiding this comment

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

Good news: we have a file_type extension for this, now. Anyway, like I said on Discord, ignore any of this, but please add TODOs.

Copy link
Member

@JoshDreamland JoshDreamland left a comment

Choose a reason for hiding this comment

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

Wow, good cleanup.

@JoshDreamland JoshDreamland merged commit 976ec5f into enigma-dev:master Feb 1, 2020
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.

2 participants