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

копирование полигона обтекания при edited == false

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61449 954022d7-b5bf-4e40-9824-e11837661b57
parent 2c0709cb
...@@ -72,15 +72,12 @@ CWrapPolygon.prototype = ...@@ -72,15 +72,12 @@ CWrapPolygon.prototype =
{ {
this.setEdited(wrapPolygon.edited); this.setEdited(wrapPolygon.edited);
} }
if(wrapPolygon.edited) var rel = [];
for(var i = 0; i < wrapPolygon.relativeArrPoints.length; ++i)
{ {
var rel = []; rel.push({x: wrapPolygon.relativeArrPoints[i].x, y: wrapPolygon.relativeArrPoints[i].y});
for(var i = 0; i < wrapPolygon.relativeArrPoints.length; ++i)
{
rel.push({x: wrapPolygon.relativeArrPoints[i].x, y: wrapPolygon.relativeArrPoints[i].y});
}
this.setArrRelPoints(rel);
} }
this.setArrRelPoints(rel);
if(this.wrapSide !== wrapPolygon.wrapSide) if(this.wrapSide !== wrapPolygon.wrapSide)
{ {
......
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