Fixed persisting copied nodes.
This commit is contained in:
parent
9aa6ddf41f
commit
dae9525343
@ -90,6 +90,7 @@ export class DiagramManager {
|
||||
const metaCopy = this.deepCopy(mesh.metadata);
|
||||
newMesh.metadata = metaCopy;
|
||||
DiagramShapePhysics.applyPhysics(newMesh, this.scene);
|
||||
this.persistenceManager.add(newMesh);
|
||||
return newMesh;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user