fixtransforms branch: Fixed ConvertToPath for elements with matrix
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1040 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -2994,6 +2994,15 @@ function BatchCommand(text) {
|
|||||||
|
|
||||||
if(!getBBox) {
|
if(!getBBox) {
|
||||||
// Replace the current element with the converted one
|
// 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 RemoveElementCommand(elem, parent));
|
||||||
batchCmd.addSubCommand(new InsertElementCommand(path));
|
batchCmd.addSubCommand(new InsertElementCommand(path));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user