diff --git a/src/shapes/Transformer.ts b/src/shapes/Transformer.ts index f604baf2..0f8f3d6c 100644 --- a/src/shapes/Transformer.ts +++ b/src/shapes/Transformer.ts @@ -354,7 +354,7 @@ export class Transformer extends Group { } getNodes() { - return this._nodes; + return this._nodes || []; } /** * return the name of current active anchor