Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Hnidek <jiri.hnidek@tul.cz>2014-08-14 16:44:14 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2014-08-14 16:44:14 +0400
commit5a90576d30a0d24283fa97d905e511b35b119735 (patch)
tree4e30a9cfac8e531d746588a29028446bdffceb54 /io_online_sketchfab
parent38c657a6cdfce83f2308d29f7625ce575f136311 (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__.py2
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"
)