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:
authorChris Foster <cdbfoster@gmail.com>2013-12-12 00:54:59 +0400
committerChris Foster <cdbfoster@gmail.com>2013-12-12 00:54:59 +0400
commit4b9e07014b9734df30f90301d58cad5e4cfc6c70 (patch)
tree471ffe51a0a0894261179320303044ade788b273 /io_scene_x/__init__.py
parentc33c2c0b7a28787123f4b9e7354549a18e8b88b4 (diff)
Add option to export texture references to the active images of each face. This is useful to some users.
Diffstat (limited to 'io_scene_x/__init__.py')
-rw-r--r--io_scene_x/__init__.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/io_scene_x/__init__.py b/io_scene_x/__init__.py
index 394954e6..91c9ac36 100644
--- a/io_scene_x/__init__.py
+++ b/io_scene_x/__init__.py
@@ -91,7 +91,13 @@ class ExportDirectX(bpy.types.Operator):
name=" Export Materials",
description="Export material properties and reference image textures",
default=True)
-
+
+ ExportActiveImageMaterials = BoolProperty(
+ name=" Reference Active Images as Textures",
+ description="Reference the active image of each face as a texture, "\
+ "as opposed to the image assigned to the material",
+ default=False)
+
ExportVertexColors = BoolProperty(
name=" Export Vertex Colors",
description="Export mesh vertex colors, if any",
@@ -182,4 +188,3 @@ def unregister():
if __name__ == "__main__":
register()
-