diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-15 03:44:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-15 03:50:43 +0300 |
commit | 013fc69ea8feba0dfcb35ae6b8f5207753af3202 (patch) | |
tree | 7b89315111b10c2caddde1b0aa97c37b5eebaa45 /release/scripts/modules/keyingsets_utils.py | |
parent | 3bf98d1cec1821749c986288508b4fb787a32633 (diff) |
Cleanup: unused argument & variable warnings
Diffstat (limited to 'release/scripts/modules/keyingsets_utils.py')
-rw-r--r-- | release/scripts/modules/keyingsets_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/keyingsets_utils.py b/release/scripts/modules/keyingsets_utils.py index b7a15bbbc19..de0b1435803 100644 --- a/release/scripts/modules/keyingsets_utils.py +++ b/release/scripts/modules/keyingsets_utils.py @@ -240,7 +240,7 @@ def RKS_GEN_custom_props(_ksi, _context, ks, data): prop_path = '["%s"]' % bpy.utils.escape_identifier(cprop_name) try: rna_property = data.path_resolve(prop_path, False) - except ValueError as ex: + except ValueError: # This happens when a custom property is set to None. In that case it cannot # be converted to an FCurve-compatible value, so we can't keyframe it anyway. continue |