mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
changed function name (exportCard -> includeCard), because it better describes what the function does.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1032 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -63,7 +63,7 @@ void ExportCardImages::exportImages(const SetP& set, wxFileName& fn, const Strin
|
||||
// Export
|
||||
std::set<String> used; // for CONFLICT_NUMBER_OVERWRITE
|
||||
FOR_EACH(card, set->cards) {
|
||||
if (exportCard(card)) {
|
||||
if (includeCard(card)) {
|
||||
// filename for this card
|
||||
Context& ctx = set->getContext(card);
|
||||
String filename = untag(ctx.eval(*filename_script)->toString());
|
||||
@@ -121,7 +121,7 @@ void ImagesExportWindow::onOk(wxCommandEvent&) {
|
||||
EndModal(wxID_OK);
|
||||
}
|
||||
|
||||
bool ImagesExportWindow::exportCard(const CardP& card) const {
|
||||
bool ImagesExportWindow::includeCard(const CardP& card) const {
|
||||
return isSelected(card);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user