浏览代码

[added] comments explaining the style types

anjuna krokus 3 月之前
父节点
当前提交
21a5d97d5b
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      locations/_face_image.qsrc

+ 5 - 2
locations/_face_image.qsrc

@@ -2,6 +2,11 @@
 
 !!use with - <img <<$set_imgh>> src="<<func(''$face_image'')>>">
 
+!! type = 1: custom image
+!! type = 2: 3D generated image
+!! type = 0: picture image
+
+
 if face_style['type'] = 1:
 	if $face_style['avatar_path'] = '': $face_style['avatar_path'] = 'images/avatar.jpg'
 	$result = $face_style['avatar_path']
@@ -296,6 +301,4 @@ else
 end
 
 
-
 --- $face_image ---------------------------------
-