Browse Source

Few cosmetic and credit tweaks to the Blender 2.57 exporter.

Mr.doob 14 years ago
parent
commit
87f293632c

+ 8 - 8
utils/exporters/blender/2.57/scripts/addons/io_mesh_threejs/__init__.py

@@ -25,15 +25,15 @@
 
 
 bl_info = {
 bl_info = {
     "name": "three.js format",
     "name": "three.js format",
-    "author": "mrdoob",
-	"version": (1, 0),
+    "author": "mrdoob, kikko, alteredq, remoe",
+    "version": (1, 0),
     "blender": (2, 5, 7),
     "blender": (2, 5, 7),
     "api": 35622,
     "api": 35622,
-    "location": "File > Import-Export > three.js",
-    "description": "Import-Export THREEjs meshes",
+    "location": "File > Import-Export",
+    "description": "Import-Export three.js meshes",
     "warning": "",
     "warning": "",
-    "tracker_url": "",
-    "support": 'OFFICIAL',
+    "wiki_url": "https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender",
+    "tracker_url": "https://github.com/mrdoob/three.js/issues",
     "category": "Import-Export"}
     "category": "Import-Export"}
 
 
 if "bpy" in locals():
 if "bpy" in locals():
@@ -295,8 +295,8 @@ class ExportTHREEJS(bpy.types.Operator, ExportHelper):
 
 
         row = layout.row()
         row = layout.row()
         row.prop(self.properties, "option_vertices")
         row.prop(self.properties, "option_vertices")
-        row = layout.row()
-        row.enabled = self.properties.option_vertices
+        # row = layout.row()
+        # row.enabled = self.properties.option_vertices
         # row.prop(self.properties, "option_vertices_deltas")
         # row.prop(self.properties, "option_vertices_deltas")
         row.prop(self.properties, "option_vertices_truncate")
         row.prop(self.properties, "option_vertices_truncate")
         layout.separator()
         layout.separator()

+ 1 - 4
utils/exporters/blender/2.57/scripts/addons/io_mesh_threejs/export_threejs.py

@@ -16,9 +16,6 @@
 #
 #
 # ##### END GPL LICENSE BLOCK #####
 # ##### END GPL LICENSE BLOCK #####
 
 
-# Based on export_obj.py and export_ply.py
-# Contributors: Mr.doob, Kikko, alteredq
-
 """
 """
 Blender exporter for Three.js (ASCII JSON format).
 Blender exporter for Three.js (ASCII JSON format).
 
 
@@ -226,7 +223,7 @@ TEMPLATE_HEX = "0x%06x"
 
 
 TEMPLATE_FILE_ASCII = """\
 TEMPLATE_FILE_ASCII = """\
 /*
 /*
- * File generated with Blender 2.56 Exporter
+ * File generated with Blender 2.57 Exporter
  * https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender/
  * https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender/
  *
  *
  * vertices: %(nvertex)d
  * vertices: %(nvertex)d

+ 0 - 4
utils/exporters/blender/2.57/scripts/addons/io_mesh_threejs/import_threejs.py

@@ -16,10 +16,6 @@
 #
 #
 # ##### END GPL LICENSE BLOCK #####
 # ##### END GPL LICENSE BLOCK #####
 
 
-# Based on import_obj.py
-# Contributors: alteredq
-
-
 """
 """
 Blender importer for Three.js (ASCII JSON format).
 Blender importer for Three.js (ASCII JSON format).