diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index f467c66e..26d4dc84 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -3125,19 +3125,7 @@ function BatchCommand(text) { // used internally var getLayerName = function(g) { - var name = ""; - if (g && g.tagName == "g") { - var len = g.childNodes.length; - for (var i = 0; i < len; ++i) { - var child = g.childNodes.item(i); - // found the