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

Баги с потерей формата точек при смене диапазона. Баг с невозможностью...

Баги с потерей формата точек при смене диапазона. Баг с невозможностью изменить аджастмент при смене типа геометрии.(Bug 25849)
Bug 25849 - Не отображается изменение контура автофигуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57654 954022d7-b5bf-4e40-9824-e11837661b57
parent 35ec7ffd
This diff is collapsed.
...@@ -3769,14 +3769,16 @@ CShape.prototype = ...@@ -3769,14 +3769,16 @@ CShape.prototype =
break; break;
} }
} }
var old_geometry = this.spPr && isRealObject(this.spPr.geometry) ? this.spPr.geometry : null;
if (_final_preset != null) { if (_final_preset != null) {
this.spPr.setGeometry(CreateGeometry(_final_preset)); this.spPr.setGeometry(CreateGeometry(_final_preset));
if(this.spPr.geometry)
{
this.spPr.geometry.setParent(this.spPr);
}
} }
else { else {
this.spPr.geometry = null; this.spPr.geometry = null;
} }
var new_geometry = this.spPr && isRealObject(this.spPr.geometry) ? this.spPr.geometry : null;
if ((!this.brush || !this.brush.fill) && (!this.pen || !this.pen.Fill || !this.pen.Fill.fill)) { if ((!this.brush || !this.brush.fill) && (!this.pen || !this.pen.Fill || !this.pen.Fill.fill)) {
var new_line2 = new CLn(); var new_line2 = new CLn();
new_line2.Fill = new CUniFill(); new_line2.Fill = new CUniFill();
......
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