From 8a3beaa9f810a4f77cb551388ab94fa47865609b Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Sun, 12 Jan 2025 23:25:11 -0500 Subject: [PATCH] Fix errors when files refer to now nonexistant frames --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index b848ad0..4316e3c 100644 --- a/src/main.js +++ b/src/main.js @@ -5949,6 +5949,8 @@ function stage() { ).points; } else { for (let child of context.selection) { + if (!context.activeObject.currentFrame) continue; + if (!context.activeObject.currentFrame.keys) continue; context.activeObject.currentFrame.keys[child.idx].x += mouse.x - context.lastMouse.x; context.activeObject.currentFrame.keys[child.idx].y +=