diff --git a/packages/core/src/part.mjs b/packages/core/src/part.mjs index 6c1579c5985..eaa047856b6 100644 --- a/packages/core/src/part.mjs +++ b/packages/core/src/part.mjs @@ -295,6 +295,7 @@ Part.prototype.__getIdClosure = function () { /** * Copies point/path/snippet data from part orig into this + * Also sets the freeId * * @private * @param {object} orig - The original part to inject into this @@ -307,6 +308,7 @@ Part.prototype.__inject = function (orig) { } } + this.freeId = orig.freeId for (let i in orig.points) this.points[i] = orig.points[i].clone() for (let i in orig.paths) { this.paths[i] = orig.paths[i].clone()