]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mesh_mspgl/__init__.py
Support exporting textures with objects
[libs/gl.git] / blender / io_mesh_mspgl / __init__.py
index 37eec0889853a1c5942abfd67c0d51c403eb0840..0b7b31dfe31d6d28120cc2cae01b79cce32192a5 100644 (file)
@@ -56,6 +56,10 @@ class ExportMspGLObject(bpy.types.Operator, ExportMspGLBase):
 
        filename_ext = ".object"
 
+       textures = bpy.props.EnumProperty(name="Textures", description="Export textures", default="REF",
+               items=(("NONE", "None", "Ignore textures"),
+                       ("REF", "Referenced", "Reference external data"),
+                       ("INLINE", "Inline", "Embed textures in the object")))
        material_tex = bpy.props.BoolProperty(name="Material texture", description="Generate a texture based on material colors", default=False)
 
        def prepare_exporter(self, exporter):