More debugging output in Animation.cpp
This commit is contained in:
parent
f42b5e1034
commit
85aee53462
@ -207,27 +207,29 @@ void Animation::setSingleFrame(uint8_t frame) {
|
|||||||
|
|
||||||
Animation::~Animation() {
|
Animation::~Animation() {
|
||||||
for (int i=0; i<_color_count; i++) delete _colors[i];
|
for (int i=0; i<_color_count; i++) delete _colors[i];
|
||||||
LOGln("Deleting _colors...");
|
|
||||||
|
LOGln("Animation * Deleting _colors...");
|
||||||
if (_colors) delete [] _colors;
|
if (_colors) delete [] _colors;
|
||||||
LOGln("Deleting fgColor...");
|
|
||||||
|
|
||||||
|
LOGln("Animation * Deleting fgColor...");
|
||||||
if (fgColor != NULL) delete fgColor;
|
if (fgColor != NULL) delete fgColor;
|
||||||
LOGln("Deleting bgColor...");
|
|
||||||
|
|
||||||
|
LOGln("Animation * Deleting bgColor...");
|
||||||
if (bgColor != NULL) delete bgColor;
|
if (bgColor != NULL) delete bgColor;
|
||||||
LOGln("Deleting _frame_data_lengths...");
|
|
||||||
|
|
||||||
|
LOGln("Animation * Deleting _frame_data_lengths...");
|
||||||
if (_frame_data_lengths) delete [] _frame_data_lengths;
|
if (_frame_data_lengths) delete [] _frame_data_lengths;
|
||||||
LOGln("Deleting _frame_times...");
|
|
||||||
|
|
||||||
|
LOGln("Animation * Deleting _frame_times...");
|
||||||
if (_frame_times) delete [] _frame_times;
|
if (_frame_times) delete [] _frame_times;
|
||||||
for (int i=0; i<_frame_count; i++) {
|
for (int i=0; i<_frame_count; i++) {
|
||||||
delete [] _frame_data[i];
|
delete [] _frame_data[i];
|
||||||
}
|
}
|
||||||
LOGln("Deleting _frame_data...");
|
|
||||||
|
|
||||||
|
LOGln("Animation * Deleting _frame_data...");
|
||||||
if (_frame_data) delete [] _frame_data;
|
if (_frame_data) delete [] _frame_data;
|
||||||
LOGln("Deleteion done.");
|
|
||||||
|
LOGln("Animation * Deletion done.");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Animation::draw() {
|
void Animation::draw() {
|
||||||
|
Loading…
Reference in New Issue
Block a user