summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples')
-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.