fix index mode change order of ops to allow clearning of animation artifacts
This commit is contained in:
parent
5f69f353bf
commit
1c6e4429aa
2 changed files with 5 additions and 10 deletions
|
|
@ -103,10 +103,6 @@ CAM.init = function(kiri, api) {
|
|||
return;
|
||||
}
|
||||
const clockOp = cp.ops.filter(op => op.type === '|')[0];
|
||||
// if (isIndexed && !clockOp) {
|
||||
// func.opAdd(popOp['|'].new());
|
||||
// } else if (!isIndexed && clockOp) {
|
||||
// func.opDel(clockOp);
|
||||
if (!clockOp) {
|
||||
func.opAdd(popOp['|'].new());
|
||||
} else {
|
||||
|
|
@ -199,7 +195,6 @@ CAM.init = function(kiri, api) {
|
|||
updateStock();
|
||||
func.opRender();
|
||||
api.uc.setVisible($('layer-animate'), isAnimate && isCamMode);
|
||||
// api.uc.setVisible($('layer-toolpos'), isAnimate && isCamMode);
|
||||
});
|
||||
|
||||
api.event.on("settings.saved", (settings) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue