Fixed pathedit mode for paths that were rotated, then had points recalced by a matrix

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1117 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-12-28 14:57:40 +00:00
parent 13b87e1839
commit 118c0c766c
1 changed files with 6 additions and 1 deletions

View File

@ -3998,7 +3998,12 @@ function BatchCommand(text) {
if (selectedElements[0].nodeName == "path" && selectedElements[1] == null) {
if (current_path == t) {
current_mode = "pathedit";
// This resets the pathedit selection in case it
// was a rotate that turned into a matrix
var angle = canvas.getRotationAngle(t);
if(!angle) setPointContainerTransform();
// recalculate current_path_pts
recalcPathPoints();
canvas.clearSelection();