From 6e8faa38bf88e80ae228276523547ec9dc007569 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Thu, 27 Jan 2022 18:23:29 -0800 Subject: [PATCH] Updated documentation --- README.md | 6 +++--- io_scene_psk_psa/psk/importer.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 54a88fc..bfaf7ed 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -This Blender add-on allows you to import and export meshes and animations to the [PSK and PSA file formats](https://wiki.beyondunreal.com/PSK_%26_PSA_file_formats). +This Blender add-on allows you to import and export meshes and animations to the [PSK and PSA file formats](https://wiki.beyondunreal.com/PSK_%26_PSA_file_formats). In addition, the non-standard PSKX format is also supported for import only. # Installation 1. Download the zip file for the latest version from the [releases](https://github.com/DarklightGames/io_export_psk_psa/releases) page. @@ -10,9 +10,9 @@ This Blender add-on allows you to import and export meshes and animations to the 7. Enable the newly added "Import-Export: PSK/PSA Importer/Exporter" addon. # Usage -## Exporting a PSK +## Exporting a PSK/PSKX 1. Select the mesh objects you wish to export. -3. Navigate to File > Export > Unreal PSK (.psk) +3. Navigate to File > Export > Unreal PSK (.psk/.pskx) 4. Enter the file name and click "Export". ## Importing a PSK diff --git a/io_scene_psk_psa/psk/importer.py b/io_scene_psk_psa/psk/importer.py index 9311a59..b4c6f0b 100644 --- a/io_scene_psk_psa/psk/importer.py +++ b/io_scene_psk_psa/psk/importer.py @@ -228,18 +228,18 @@ class PskImporter(object): class PskImportPropertyGroup(PropertyGroup): - should_import_vertex_colors: BoolProperty(default=True, name='Vertex Colors') + should_import_vertex_colors: BoolProperty(default=True, name='Vertex Colors', description='Import vertex colors from PSKX files, if available') vertex_color_space: EnumProperty( name='Vertex Color Space', - description='', + description='The source vertex color space', default='SRGBA', items=( ('LINEAR', 'Linear', ''), ('SRGBA', 'sRGBA', ''), ) ) - should_import_vertex_normals: BoolProperty(default=True, name='Vertex Normals') - should_import_extra_uvs: BoolProperty(default=True, name='Extra UVs') + should_import_vertex_normals: BoolProperty(default=True, name='Vertex Normals', description='Import vertex normals from PSKX files, if available') + should_import_extra_uvs: BoolProperty(default=True, name='Extra UVs', description='Import extra UV maps from PSKX files, if available') class PskImportOperator(Operator, ImportHelper):