Skip to content

Commit bf5c703

Browse files
committed
moved print statement before card is made
1 parent 47d15ad commit bf5c703

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CardCreator.pde

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ int maxHei = 0;
2121
ArrayList<String> elements;
2222

2323
/**
24-
* Reads csv files, defines cards as 675x1050 px (bridge card at 300 dpi)
24+
* Reads csv files, defines card dimensions to accomodate
25+
* largest x + width and largest y + height of elements
26+
* in template.csv
27+
*
2528
* TODO: Let user choose other card sizes to generate
2629
* TODO: Add bleed area to card sizes for printing.
2730
*/
@@ -58,6 +61,7 @@ void createAllCards() {
5861
*/
5962
void createCard(TableRow conRow) {
6063
cardMain.clear();
64+
println("creating ", conRow.getString("saveFile"));
6165
for(int i = 0; i < elements.size(); i++){
6266
//calls drawImg() if "Img" is in element name
6367
if(elements.get(i).indexOf("Img") != -1){
@@ -77,7 +81,6 @@ void createCard(TableRow conRow) {
7781
* @param filename
7882
*/
7983
void saveCard(String filename){
80-
println(" Saving ", filename);
8184
cardMain.save(filename);
8285
}
8386

0 commit comments

Comments
 (0)