Applied patch to issue 566 by peter.d.reid

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1583 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-05-31 17:40:30 +00:00
parent b61de7cc25
commit 74cc0fe376
1 changed files with 3 additions and 3 deletions

View File

@ -214,9 +214,6 @@ function ChangeElementCommand(elem, attrs, text) {
else if (attr == "#href") this.elem.setAttributeNS(xlinkns, "xlink:href", this.newValues[attr])
else this.elem.setAttribute(attr, this.newValues[attr]);
}
if (attr == "stdDeviation") canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]);
else {
if (attr == "#text") this.elem.textContent = "";
else {
@ -224,7 +221,10 @@ function ChangeElementCommand(elem, attrs, text) {
this.elem.removeAttribute(attr);
}
}
if (attr == "transform") { bChangedTransform = true; }
else if (attr == "stdDeviation") { canvas.setBlurOffsets(this.elem.parentNode, this.newValues[attr]); }
}
// relocate rotational transform, if necessary
if(!bChangedTransform) {