mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Few cosmetic and credit tweaks to the Blender 2.57 exporter.
This commit is contained in:
@@ -25,15 +25,15 @@
|
||||
|
||||
bl_info = {
|
||||
"name": "three.js format",
|
||||
"author": "mrdoob",
|
||||
"version": (1, 0),
|
||||
"author": "mrdoob, kikko, alteredq, remoe",
|
||||
"version": (1, 0),
|
||||
"blender": (2, 5, 7),
|
||||
"api": 35622,
|
||||
"location": "File > Import-Export > three.js",
|
||||
"description": "Import-Export THREEjs meshes",
|
||||
"location": "File > Import-Export",
|
||||
"description": "Import-Export three.js meshes",
|
||||
"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"}
|
||||
|
||||
if "bpy" in locals():
|
||||
@@ -295,8 +295,8 @@ class ExportTHREEJS(bpy.types.Operator, ExportHelper):
|
||||
|
||||
row = layout.row()
|
||||
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_truncate")
|
||||
layout.separator()
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
#
|
||||
# ##### 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).
|
||||
|
||||
@@ -226,7 +223,7 @@ TEMPLATE_HEX = "0x%06x"
|
||||
|
||||
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/
|
||||
*
|
||||
* vertices: %(nvertex)d
|
||||
|
||||
@@ -16,10 +16,6 @@
|
||||
#
|
||||
# ##### END GPL LICENSE BLOCK #####
|
||||
|
||||
# Based on import_obj.py
|
||||
# Contributors: alteredq
|
||||
|
||||
|
||||
"""
|
||||
Blender importer for Three.js (ASCII JSON format).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user