mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Also set up layer.
This commit is contained in:
parent
8fe7110dc9
commit
10eeb612b0
@ -609,6 +609,7 @@ void PaintWindow::commit_action() {
|
||||
//print("commit action")
|
||||
_current_action->commit_action(paint_canvas);
|
||||
Ref<PaintAction> action = _current_action->duplicate(true);
|
||||
action->layer = _current_action->layer;
|
||||
|
||||
_actions_history.push_back(action);
|
||||
_redo_history.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user