diff options
author | Pushkar Joshi | 2012-05-21 08:40:40 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-05-21 08:40:40 -0700 |
commit | 11cfa9ef2871002b600f1c18f4e06e55a826163c (patch) | |
tree | 381b23b0fa86cdf283a0da7a1b7d532a94e89db4 /js/lib/geom/brush-stroke.js | |
parent | 4cb3612c9a67f4020d2949b5e5e5d84a90017974 (diff) | |
parent | c37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff) | |
download | ninja-11cfa9ef2871002b600f1c18f4e06e55a826163c.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/lib/geom/brush-stroke.js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 519e0433..09a7023c 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -835,7 +835,7 @@ var BrushStroke = function GLBrushStroke() { | |||
835 | 835 | ||
836 | }; //function BrushStroke ...class definition | 836 | }; //function BrushStroke ...class definition |
837 | 837 | ||
838 | BrushStroke.prototype = new GeomObj(); | 838 | BrushStroke.prototype = Object.create(GeomObj, {}); |
839 | 839 | ||
840 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) | 840 | BrushStroke.prototype._CatmullRomSplineInterpolate = function(ctrlPts, t) |
841 | { | 841 | { |