From 68066f298f5efd60d8427e7d0897848d7f0df996 Mon Sep 17 00:00:00 2001 From: alteredq Date: Thu, 25 Oct 2012 14:20:11 +0200 Subject: [PATCH] Fixed trailing commas for procedural geometries in SceneExporter. --- examples/js/exporters/SceneExporter.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/js/exporters/SceneExporter.js b/examples/js/exporters/SceneExporter.js index e5bac046ad..f8644748e6 100644 --- a/examples/js/exporters/SceneExporter.js +++ b/examples/js/exporters/SceneExporter.js @@ -361,7 +361,7 @@ THREE.SceneExporter.prototype = { ' "type" : "sphere",', ' "radius" : ' + g.radius + ',', ' "widthSegments" : ' + g.widthSegments + ',', - ' "heightSegments" : ' + g.heightSegments + ',', + ' "heightSegments" : ' + g.heightSegments, '}' ]; @@ -377,7 +377,7 @@ THREE.SceneExporter.prototype = { ' "depth" : ' + g.depth + ',', ' "widthSegments" : ' + g.widthSegments + ',', ' "heightSegments" : ' + g.heightSegments + ',', - ' "depthSegments" : ' + g.depthSegments + ',', + ' "depthSegments" : ' + g.depthSegments, '}' ]; @@ -391,7 +391,7 @@ THREE.SceneExporter.prototype = { ' "width" : ' + g.width + ',', ' "height" : ' + g.height + ',', ' "widthSegments" : ' + g.widthSegments + ',', - ' "heightSegments" : ' + g.heightSegments + ',', + ' "heightSegments" : ' + g.heightSegments, '}' ]; -- GitLab