diff --git a/Changelog.md b/Changelog.md index b863c89..3e35752 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +# 0.7.5-alpha: +Bugfixes: +- Fix errors when files refer to now nonexistant frames + # 0.7.4-alpha: Bugfixes: - Fix timeline collapse on imported objects diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9ff6ea6..a5fdefa 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Lightningbeam", - "version": "0.7.4-alpha", + "version": "0.7.5-alpha", "identifier": "org.lightningbeam.core", "build": { "frontendDist": "../src" 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 +=