mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-09 04:50:29 +08:00
Fix #2108 Pasting keyframe over other deletes original kf
This commit is contained in:
parent
5b684beb4a
commit
6a2679578e
@ -81,7 +81,7 @@ class GeneralAnimator {
|
||||
var deleted = [];
|
||||
delete keyframe.time_before;
|
||||
keyframe.replaceOthers(deleted);
|
||||
if (undo) {
|
||||
if (deleted.length && Undo.current_save) {
|
||||
Undo.addKeyframeCasualties(deleted);
|
||||
}
|
||||
Animation.selected.setLength();
|
||||
|
Loading…
Reference in New Issue
Block a user