Commit 1932e924 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug 34654

parent 7d1a653d
......@@ -2544,7 +2544,6 @@ CGraphicObjects.prototype =
for(i = 0; i < objects_for_grouping.length; ++i)
{
objects_for_grouping[i].parent.Remove_FromDocument(false);
objects_for_grouping[i].parent.Set_GraphicObject(null);//for Bug 34548
if(objects_for_grouping[i].setParent){
objects_for_grouping[i].setParent(null);
}
......
......@@ -223,9 +223,6 @@ ParaDrawing.prototype.CheckCorrect = function(){
if(!this.GraphicObj){
return false;
}
if(this.GraphicObj.parent !== this){
return false;
}
if(this.GraphicObj && this.GraphicObj.checkCorrect){
return this.GraphicObj.checkCorrect();
}
......
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