add controls to settings

This commit is contained in:
Ondrej Samohel 2022-02-08 18:38:26 +01:00
parent 1be9ff7c39
commit 78972e00ae
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -129,6 +129,62 @@
]
},
{
"type": "dict",
"collapsible": true,
"key": "ValidateMayaUnits",
"label": "Validate Maya Units",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "validate_linear_units",
"label": "Validate linear units"
},
{
"key": "linear_units",
"label": "Linear units",
"type": "enum",
"multiselection": false,
"defaults": "cm",
"enum_items": [
{"mm": "millimeter"},
{"cm": "centimeter"},
{"m": "meter"},
{"in": "inch"},
{"ft": "foot"},
{"yd": "yard"}
]
},
{
"type": "boolean",
"key": "validate_angular_units",
"label": "Validate angular units"
},
{
"key": "angular_units",
"label": "Angular units",
"type": "enum",
"multiselection": false,
"defaults": "cm",
"enum_items": [
{"deg": "degree"},
{"rad": "radian"}
]
},
{
"type": "boolean",
"key": "fps",
"label": "Validate fps"
}
]
},
{
"type": "dict",
"collapsible": true,