diff options
Diffstat (limited to 'io_online_sketchfab/__init__.py')
-rw-r--r-- | io_online_sketchfab/__init__.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py index fa1cefdd..222be113 100644 --- a/io_online_sketchfab/__init__.py +++ b/io_online_sketchfab/__init__.py @@ -340,16 +340,16 @@ class VIEW3D_PT_sketchfab(Panel): # property group containing all properties for the user interface class SketchfabProps(PropertyGroup): - description = StringProperty( + description: StringProperty( name="Description", description="Description of the model (optional)", default="") - filepath = StringProperty( + filepath: StringProperty( name="Filepath", description="internal use", default="", ) - lamps = EnumProperty( + lamps: EnumProperty( name="Lamps", items=(('ALL', "All", "Export all lamps in the file"), ('NONE', "None", "Don't export any lamps"), @@ -357,35 +357,35 @@ class SketchfabProps(PropertyGroup): description="Determines which lamps are exported", default='ALL', ) - models = EnumProperty( + models: EnumProperty( name="Models", items=(('ALL', "All", "Export all meshes in the file"), ('SELECTION', "Selection", "Only export selected meshes")), description="Determines which meshes are exported", default='SELECTION', ) - private = BoolProperty( + private: BoolProperty( name="Private", description="Upload as private (requires a pro account)", default=False, ) - password = StringProperty( + password: StringProperty( name="Password", description="Password-protect your model (requires a pro account)", default="", subtype="PASSWORD" ) - tags = StringProperty( + tags: StringProperty( name="Tags", description="List of tags, separated by spaces (optional)", default="", ) - title = StringProperty( + title: StringProperty( name="Title", description="Title of the model (determined automatically if left empty)", default="", ) - token = StringProperty( + token: StringProperty( name="Api Key", description="You can find this on your dashboard at the Sketchfab website", default="", @@ -398,7 +398,7 @@ class SketchfabEmailToken(Operator): bl_idname = "wm.sketchfab_email_token" bl_label = "Enter your email to get a sketchfab token" - email = StringProperty( + email: StringProperty( name="Email", default="you@example.com", ) @@ -463,7 +463,7 @@ class SfabAddonPreferences(AddonPreferences): # when defining this in a submodule of a python package. bl_idname = __name__ - category = StringProperty( + category: StringProperty( name="Tab Category", description="Choose a name for the category of the panel", default="File I/O", |