don't add empty objects

This commit is contained in:
Skyler Lehmkuhl 2024-12-05 10:43:23 -05:00
parent 6f101301ed
commit 3697b3371c
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ let startProps = {}
let actions = {
addShape: {
create: (parent, shape) => {
if (shape.curves.length==0) return;
redoStack.length = 0; // Clear redo stack
let serializableCurves = []
for (let curve of shape.curves) {