diff options
author | Pushkar Joshi | 2012-02-28 10:24:06 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-28 10:24:06 -0800 |
commit | 7cbd26d475eaad817042692f9116f9a24ae60997 (patch) | |
tree | 1500eb0562e634f8b6f8e1e1446b31a983d00d56 /js/helper-classes/RDGE/GLAnchorPoint.js | |
parent | 053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff) | |
download | ninja-7cbd26d475eaad817042692f9116f9a24ae60997.tar.gz |
Bug fixes:
1152: allow deleting of multiple paths from inside pen tool
1128: keyboard hotkey shortcut 'P' for pen tool
941: changing width or height of the path scales the path
Diffstat (limited to 'js/helper-classes/RDGE/GLAnchorPoint.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLAnchorPoint.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/GLAnchorPoint.js b/js/helper-classes/RDGE/GLAnchorPoint.js index 716f59d4..c3e95b34 100755 --- a/js/helper-classes/RDGE/GLAnchorPoint.js +++ b/js/helper-classes/RDGE/GLAnchorPoint.js | |||
@@ -133,6 +133,13 @@ GLAnchorPoint.prototype.translateAll = function (x, y, z) { | |||
133 | } | 133 | } |
134 | 134 | ||
135 | 135 | ||
136 | GLAnchorPoint.prototype.scaleAll = function(sx,sy,sz){ | ||
137 | this._x *= sx;this._prevX *= sx;this._nextX *= sx; | ||
138 | this._y *= sy;this._prevY *= sy;this._nextY *= sy; | ||
139 | this._z *= sz;this._prevZ *= sz;this._nextZ *= sz; | ||
140 | } | ||
141 | |||
142 | |||
136 | // ********* getters ********** | 143 | // ********* getters ********** |
137 | GLAnchorPoint.prototype.getPosX = function () { return this._x; } | 144 | GLAnchorPoint.prototype.getPosX = function () { return this._x; } |
138 | GLAnchorPoint.prototype.getPosY = function () { return this._y; } | 145 | GLAnchorPoint.prototype.getPosY = function () { return this._y; } |