Permalink
Browse files

Add an id to the exported geometry by default

  • Loading branch information...
rehno-lindeque committed Dec 29, 2010
1 parent 7186d0b commit 74f8538f0037863f6ebaa99eb0e211272ff359a6
Showing with 1 addition and 0 deletions.
  1. +1 −0 WebGLExport.py
View
@@ -64,6 +64,7 @@ def export_scenejs(class_name, mesh):
s += "BlenderExport.%s = {\n" % (class_name)
s += "type: \"geometry\",\n"
s += "resource: \"%s\",\n" % (class_name)
+ s += "id: \"%s\",\n" % (class_name)
s += "primitive: \"triangles\",\n"
vertices = "positions: ["

0 comments on commit 74f8538

Please sign in to comment.