Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-23 05:18:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-23 05:18:52 +0400
commite63e95789e23f672b2d55319232e391e254219fb (patch)
treeb25900ebb754df4376e03c49789c6ea5a808506f /io_scene_fbx
parent5127af871d9ca8493af0c36db6d6ec3f49c42451 (diff)
update addons enabled by default to use 'faces -> tessfaces' also grease pencil scatter and quake map export.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index c71ba3cd..c5c09627 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -1364,7 +1364,7 @@ def save_single(operator, scene, filepath="",
# convert into lists once.
me_vertices = me.vertices[:]
me_edges = me.edges[:] if use_mesh_edges else ()
- me_faces = me.faces[:]
+ me_faces = me.tessfaces[:]
poseMatrix = write_object_props(my_mesh.blenObject, None, my_mesh.parRelMatrix())[3]
pose_items.append((my_mesh.fbxName, poseMatrix))
@@ -2005,7 +2005,7 @@ def save_single(operator, scene, filepath="",
material_mapping_local = {}
if me.tessface_uv_textures:
for uvlayer in me.tessface_uv_textures:
- for f, uf in zip(me.faces, uvlayer.data):
+ for f, uf in zip(me.tessfaces, uvlayer.data):
tex = uf.image
textures[tex] = texture_mapping_local[tex] = None