Browse Source

Fixed trailing commas for procedural geometries in SceneExporter.

alteredq 12 years ago
parent
commit
68066f298f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/js/exporters/SceneExporter.js

+ 3 - 3
examples/js/exporters/SceneExporter.js

@@ -361,7 +361,7 @@ THREE.SceneExporter.prototype = {
 				'	"type"    : "sphere",',
 				'	"type"    : "sphere",',
 				'	"radius"  : ' 		 + g.radius + ',',
 				'	"radius"  : ' 		 + g.radius + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
-				'	"heightSegments" : ' + g.heightSegments + ',',
+				'	"heightSegments" : ' + g.heightSegments,
 				'}'
 				'}'
 
 
 				];
 				];
@@ -377,7 +377,7 @@ THREE.SceneExporter.prototype = {
 				'	"depth"  : '  + g.depth  + ',',
 				'	"depth"  : '  + g.depth  + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
 				'	"heightSegments" : ' + g.heightSegments + ',',
 				'	"heightSegments" : ' + g.heightSegments + ',',
-				'	"depthSegments" : '  + g.depthSegments + ',',
+				'	"depthSegments" : '  + g.depthSegments,
 				'}'
 				'}'
 
 
 				];
 				];
@@ -391,7 +391,7 @@ THREE.SceneExporter.prototype = {
 				'	"width"  : '  + g.width  + ',',
 				'	"width"  : '  + g.width  + ',',
 				'	"height"  : ' + g.height + ',',
 				'	"height"  : ' + g.height + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
 				'	"widthSegments"  : ' + g.widthSegments + ',',
-				'	"heightSegments" : ' + g.heightSegments + ',',
+				'	"heightSegments" : ' + g.heightSegments,
 				'}'
 				'}'
 
 
 				];
 				];