aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorPushkar Joshi2012-04-06 11:41:21 -0700
committerPushkar Joshi2012-04-06 11:41:21 -0700
commit1a53fb6061688d3204e48d8617e9fed50a04b204 (patch)
tree8eb032d3798248e10f408a50ead37223e709d8a0 /js/lib
parent6b3d915b94d1263252448bd5a4ebeef4534b9528 (diff)
downloadninja-1a53fb6061688d3204e48d8617e9fed50a04b204.tar.gz
Don't update the plane matrix of subpaths that already have a plane matrix
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/geom/sub-path.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lib/geom/sub-path.js b/js/lib/geom/sub-path.js
index bca4e1c5..d784fbc6 100755
--- a/js/lib/geom/sub-path.js
+++ b/js/lib/geom/sub-path.js
@@ -338,6 +338,10 @@ GLSubpath.prototype.setPlaneMatrix = function(planeMat){
338 this._planeMat = planeMat; 338 this._planeMat = planeMat;
339}; 339};
340 340
341GLSubpath.prototype.getPlaneMatrix = function(){
342 return this._planeMat;
343};
344
341GLSubpath.prototype.setDragPlane = function(p){ 345GLSubpath.prototype.setDragPlane = function(p){
342 this._dragPlane = p; 346 this._dragPlane = p;
343}; 347};