filename_ext = ".object"
- external_tech = bpy.props.BoolProperty(name="External technique", description="Use an external technique specified in the object's properties", default=True)
-
textures = bpy.props.EnumProperty(name="Textures", description="Export textures", default="REF",
items=(("NONE", "None", "Ignore textures"),
("REF", "Referenced", "Reference external data"),
super().draw(context)
col = self.general_col
- col.prop(self, "external_tech")
col.prop(self, "export_lods")
col.prop(self, "textures")
col.separator()
- self.layout.separator();
+ self.layout.separator()
col = self.layout.column()
col.label("Files")
filename_ext = ".scene"
- external_tech = bpy.props.BoolProperty(name="External techniques", description="Use external techniques specified in objects' properties", default=True)
resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
def create_exporter(self):
bpy.types.INFO_MT_file_export.append(menu_func_export)
from .properties import register_properties
- register_properties();
+ register_properties()
def unregister():
bpy.utils.unregister_module(__name__)