Commit 8372ee31 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35239

parent 07dc2444
......@@ -5434,7 +5434,14 @@ function collectSelectedObjects(aSpTree, aCollectArray, bRecursive, oIdMap)
{
if(aSpTree[i].selected)
{
var oCopy = aSpTree[i].copy();
var oCopy;
if(aSpTree[i].getObjectType() === AscDFH.historyitem_type_GroupShape){
oCopy = aSpTree[i].copy(oIdMap);
}
else{
oCopy = aSpTree[i].copy();
}
aCollectArray.push(new DrawingCopyObject(oCopy, aSpTree[i].x, aSpTree[i].y, aSpTree[i].extX, aSpTree[i].extY, aSpTree[i].getBase64Img()));
oIdMap[aSpTree[i].Id] = oCopy.Id;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment