Rigify - saving pbone custom properties to metarig #104695
@ -437,6 +437,8 @@ def write_metarig(obj: ArmatureObject, layers=False, func_name="create",
|
|||||||
code.append(f" soft_min={props_data['soft_min']}, ")
|
code.append(f" soft_min={props_data['soft_min']}, ")
|
||||||
if 'soft_max' in props_data:
|
if 'soft_max' in props_data:
|
||||||
code.append(f" soft_max={props_data['soft_max']}, ")
|
code.append(f" soft_max={props_data['soft_max']}, ")
|
||||||
|
if 'subtype' in props_data:
|
||||||
|
code.append(f" subtype={props_data['subtype']!r}, ")
|
||||||
if 'description' in props_data:
|
if 'description' in props_data:
|
||||||
code.append(f" description={props_data['description']!r}")
|
code.append(f" description={props_data['description']!r}")
|
||||||
code.append(f" )")
|
code.append(f" )")
|
||||||
|
Loading…
Reference in New Issue
Block a user