return default empty array

This commit is contained in:
alireza bonab 2020-09-08 12:29:31 +02:00
parent 48941dbb0b
commit 746a0fb94e

View File

@ -354,7 +354,7 @@ export class Transformer extends Group {
}
getNodes() {
return this._nodes;
return this._nodes || [];
}
/**
* return the name of current active anchor