fixtransforms branch: Fixed ConvertToPath for elements with matrix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1040 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
806f851107
commit
2d1fb52e35
|
@ -2994,6 +2994,15 @@ function BatchCommand(text) {
|
|||
|
||||
if(!getBBox) {
|
||||
// Replace the current element with the converted one
|
||||
|
||||
// Reorient if it has a matrix
|
||||
if(eltrans) {
|
||||
var tlist = canvas.getTransformList(path);
|
||||
if(hasMatrixTransform(tlist)) {
|
||||
resetPathOrientation(path);
|
||||
}
|
||||
}
|
||||
|
||||
batchCmd.addSubCommand(new RemoveElementCommand(elem, parent));
|
||||
batchCmd.addSubCommand(new InsertElementCommand(path));
|
||||
|
||||
|
|
Loading…
Reference in New Issue