Skip to content

Commit

Permalink
Add an id to the exported geometry by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rehno-lindeque committed Dec 29, 2010
1 parent 7186d0b commit 74f8538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebGLExport.py
Expand Up @@ -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: ["
Expand Down

0 comments on commit 74f8538

Please sign in to comment.