Cleanup: unused argument & variable warnings

This commit is contained in:
2021-06-15 10:44:08 +10:00
parent 3bf98d1cec
commit 013fc69ea8
11 changed files with 15 additions and 17 deletions

View File

@@ -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