Remove a now uneeded method.

This commit is contained in:
Relintai 2022-06-21 18:54:33 +02:00
parent ab5b32cedf
commit 8fe7110dc9
2 changed files with 0 additions and 21 deletions

View File

@ -259,25 +259,6 @@ void PaintAction::draw_points(PaintCanvas *canvas, const PoolVector2iArray &poin
}
}
void PaintAction::copy_data_from(const Ref<PaintAction> &other) {
action_data_undo = other->action_data_undo.duplicate(true);
action_data_redo = other->action_data_redo.duplicate(true);
action_data_preview = other->action_data_preview.duplicate(true);
undo_cells.append_array(other->undo_cells);
undo_colors.append_array(other->undo_colors);
redo_cells.append_array(other->redo_cells);
redo_colors.append_array(other->redo_colors);
preview_cells.append_array(other->preview_cells);
preview_colors.append_array(other->preview_colors);
layer = other->layer;
action_data = other->action_data.duplicate(true);
}
PaintAction::PaintAction() {
}

View File

@ -87,8 +87,6 @@ public:
void draw_points(PaintCanvas *canvas, const PoolVector2iArray &point_arr, const PoolColorArray &color_arr);
void copy_data_from(const Ref<PaintAction> &other);
PaintAction();
~PaintAction();