mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 12:29:35 +01:00
Remove a now uneeded method.
This commit is contained in:
parent
ab5b32cedf
commit
8fe7110dc9
@ -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() {
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user