diff options
author | Jiri Hnidek <jiri.hnidek@tul.cz> | 2014-08-14 16:44:14 +0400 |
---|---|---|
committer | Jiri Hnidek <jiri.hnidek@tul.cz> | 2014-08-14 16:44:14 +0400 |
commit | 5a90576d30a0d24283fa97d905e511b35b119735 (patch) | |
tree | 4e30a9cfac8e531d746588a29028446bdffceb54 /io_online_sketchfab | |
parent | 38c657a6cdfce83f2308d29f7625ce575f136311 (diff) |
Password and token is hidden with in UI.
When you use subtype 'PASSWORD' of string property, then this string
property is hidden in UI. Asterisks are used to hide every character
of secret string.
Diffstat (limited to 'io_online_sketchfab')
-rw-r--r-- | io_online_sketchfab/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py index 23698df2..ef8e39b7 100644 --- a/io_online_sketchfab/__init__.py +++ b/io_online_sketchfab/__init__.py @@ -364,6 +364,7 @@ class SketchfabProps(bpy.types.PropertyGroup): name="Password", description="Password-protect your model (requires a pro account)", default="", + subtype="PASSWORD" ) tags = StringProperty( name="Tags", @@ -380,6 +381,7 @@ class SketchfabProps(bpy.types.PropertyGroup): description="You can find this on your dashboard at the Sketchfab website", default="", update=update_token, + subtype="PASSWORD" ) |