Merge branch 'main' into release

This commit is contained in:
Skyler Lehmkuhl 2025-01-12 13:43:22 -05:00
commit 51bed98b0b
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# 0.7.3-alpha:
Bugfixes:
- Fix some files not importing properly
# 0.7.2-alpha: # 0.7.2-alpha:
New features: New features:
- mp4 export (unreliable) - mp4 export (unreliable)

View File

@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "Lightningbeam", "productName": "Lightningbeam",
"version": "0.7.2-alpha", "version": "0.7.3-alpha",
"identifier": "org.lightningbeam.core", "identifier": "org.lightningbeam.core",
"build": { "build": {
"frontendDist": "../src" "frontendDist": "../src"

View File

@ -2175,7 +2175,8 @@ class Layer extends Widget {
layer.frames = []; layer.frames = [];
for (let i in json.frames) { for (let i in json.frames) {
const frame = json.frames[i]; const frame = json.frames[i];
if (frame && frame.frameType=="keyframe") { if (!frame) continue;
if (frame.frameType=="keyframe") {
layer.frames.push(Frame.fromJSON(frame)); layer.frames.push(Frame.fromJSON(frame));
} else { } else {
if (layer.frames[layer.frames.length-1]) { if (layer.frames[layer.frames.length-1]) {