summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 05:07:06 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 05:07:06 +0000
commit7dfd01fa421b487ac334ce02f00832197e4b94d6 (patch)
tree13bcf3c9dc996a58c7a793d96e0de12f8e91b13f /o3d
parent784a897c4584d2275764f6118879092dee22e1e5 (diff)
downloadchromium_src-7dfd01fa421b487ac334ce02f00832197e4b94d6.zip
chromium_src-7dfd01fa421b487ac334ce02f00832197e4b94d6.tar.gz
chromium_src-7dfd01fa421b487ac334ce02f00832197e4b94d6.tar.bz2
bug fix
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/o3djs/simple.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/samples/o3djs/simple.js b/o3d/samples/o3djs/simple.js
index c7a0e54..e875320 100644
--- a/o3d/samples/o3djs/simple.js
+++ b/o3d/samples/o3djs/simple.js
@@ -583,7 +583,7 @@ o3djs.simple.SimpleObject.prototype.init = function(simpleInfo, transform) {
* The Id for this SimpleInfo.
* @type {number}
*/
- this.id = simpleInfo.getId();
+ this.id = simpleInfo.getNextId();
/**
* The Transform that orients this object.