Commit 5f1cbab9 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка падения при открытии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57143 954022d7-b5bf-4e40-9824-e11837661b57
parent b4dec634
......@@ -879,7 +879,7 @@ CGroupShape.prototype =
global_MatrixTransformer.MultiplyAppend(this.transform, this.group.getTransformMatrix());
}
this.invertTransform = global_MatrixTransformer.Invert(this.transform);
if(this.drawingBase)
if(this.drawingBase && !this.group)
{
this.drawingBase.setGraphicObjectCoords();
}
......
......@@ -652,6 +652,10 @@ CImageShape.prototype =
global_MatrixTransformer.MultiplyAppend(this.transform, this.group.getTransformMatrix());
}
this.invertTransform = global_MatrixTransformer.Invert(this.transform);
if(this.drawingBase && !this.group)
{
this.drawingBase.setGraphicObjectCoords();
}
},
......
......@@ -2191,7 +2191,7 @@ CShape.prototype =
this.recalculateLocalTransform(this.transform);
this.invertTransform = global_MatrixTransformer.Invert(this.transform);
if(this.drawingBase)
if(this.drawingBase && !this.group)
{
this.drawingBase.setGraphicObjectCoords();
}
......
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