Code

Node tool: correctly save node skewing to undo history
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 16 Dec 2010 19:27:26 +0000 (20:27 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 16 Dec 2010 19:27:26 +0000 (20:27 +0100)
src/ui/tool/multi-path-manipulator.cpp

index ef1c764bbb35c0f35161a42093fa59e2c0c1dad8..5f60f117a3d0ceb32aa4dfb5e03d58799613e9dc 100644 (file)
@@ -695,6 +695,14 @@ void MultiPathManipulator::_commit(CommitEvent cps)
         reason = _("Scale nodes vertically");
         key = "node:scale:y";
         break;
+    case COMMIT_MOUSE_SKEW_X:
+        reason = _("Skew nodes horizontally");
+        key = "node:skew:x";
+        break;
+    case COMMIT_MOUSE_SKEW_Y:
+        reason = _("Skew nodes vertically");
+        key = "node:skew:y";
+        break;
     case COMMIT_FLIP_X:
         reason = _("Flip nodes horizontally");
         break;