diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 00:35:14 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 00:35:14 +0000 |
commit | 47a4216e91764c7284582112408626ccaf8d9583 (patch) | |
tree | dedb153975eaf2377819b01b991be841f0c45a37 /o3d/samples | |
parent | 2d77c1477d568ef6cb05f752b7a3139257823bd4 (diff) | |
download | chromium_src-47a4216e91764c7284582112408626ccaf8d9583.zip chromium_src-47a4216e91764c7284582112408626ccaf8d9583.tar.gz chromium_src-47a4216e91764c7284582112408626ccaf8d9583.tar.bz2 |
TBR=kbr@google.com
Fix for last CL
I was testing in the wrong client :-(
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
-rw-r--r-- | o3d/samples/o3djs/lineprimitives.js | 2 | ||||
-rw-r--r-- | o3d/samples/o3djs/primitives.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/o3d/samples/o3djs/lineprimitives.js b/o3d/samples/o3djs/lineprimitives.js index f9f6164..8a5d1d6 100644 --- a/o3d/samples/o3djs/lineprimitives.js +++ b/o3d/samples/o3djs/lineprimitives.js @@ -116,7 +116,7 @@ o3djs.lineprimitives.LineVertexInfo.prototype.setLine = function( o3djs.lineprimitives.LineVertexInfo.prototype.createShape = function( pack, material) { - this.createShapeByType( + return this.createShapeByType( pack, material, o3djs.base.o3d.Primitive.LINELIST); }; diff --git a/o3d/samples/o3djs/primitives.js b/o3d/samples/o3djs/primitives.js index d3e5419..c698d93 100644 --- a/o3d/samples/o3djs/primitives.js +++ b/o3d/samples/o3djs/primitives.js @@ -644,7 +644,7 @@ o3djs.primitives.VertexInfo.prototype.setTriangle = function( o3djs.primitives.VertexInfo.prototype.createShape = function( pack, material) { - this.createShapeByType( + return this.createShapeByType( pack, material, o3djs.base.o3d.Primitive.TRIANGLELIST); }; |