diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 06:11:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 06:11:36 +0300 |
commit | 7465a5db3b9e8ad64e482f94901f597ba4549367 (patch) | |
tree | 9d2adfc77d3925c4bb5ffe9a449d5f1c1a42a3c1 /release/scripts/modules/keyingsets_utils.py | |
parent | fc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (diff) |
Cleanup: unused args/vars/imports in modules
Diffstat (limited to 'release/scripts/modules/keyingsets_utils.py')
-rw-r--r-- | release/scripts/modules/keyingsets_utils.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/modules/keyingsets_utils.py b/release/scripts/modules/keyingsets_utils.py index 35bae1e69b7..b865273831e 100644 --- a/release/scripts/modules/keyingsets_utils.py +++ b/release/scripts/modules/keyingsets_utils.py @@ -56,7 +56,7 @@ def path_add_property(path, prop): # selected objects (active object must be in object mode) -def RKS_POLL_selected_objects(ksi, context): +def RKS_POLL_selected_objects(_ksi, context): ob = context.active_object if ob: return ob.mode == 'OBJECT' @@ -65,7 +65,7 @@ def RKS_POLL_selected_objects(ksi, context): # selected bones -def RKS_POLL_selected_bones(ksi, context): +def RKS_POLL_selected_bones(_ksi, context): # we must be in Pose Mode, and there must be some bones selected ob = context.active_object if ob and ob.mode == 'POSE': @@ -112,7 +112,7 @@ def RKS_ITER_selected_bones(ksi, context, ks): # 'Available' F-Curves -def RKS_GEN_available(ksi, context, ks, data): +def RKS_GEN_available(_ksi, _context, ks, data): # try to get the animation data associated with the closest # ID-block to the data (neither of which may exist/be easy to find) id_block = data.id_data @@ -170,7 +170,7 @@ def get_transform_generators_base_info(data): # Location -def RKS_GEN_location(ksi, context, ks, data): +def RKS_GEN_location(_ksi, _context, ks, data): # get id-block and path info id_block, base_path, grouping = get_transform_generators_base_info(data) @@ -185,7 +185,7 @@ def RKS_GEN_location(ksi, context, ks, data): # Rotation -def RKS_GEN_rotation(ksi, context, ks, data): +def RKS_GEN_rotation(_ksi, _context, ks, data): # get id-block and path info id_block, base_path, grouping = get_transform_generators_base_info(data) @@ -206,7 +206,7 @@ def RKS_GEN_rotation(ksi, context, ks, data): # Scaling -def RKS_GEN_scaling(ksi, context, ks, data): +def RKS_GEN_scaling(_ksi, _context, ks, data): # get id-block and path info id_block, base_path, grouping = get_transform_generators_base_info(data) @@ -244,7 +244,7 @@ bbone_property_ids = ( # Add Keying Set entries for bendy bones -def RKS_GEN_bendy_bones(ksi, context, ks, data): +def RKS_GEN_bendy_bones(_ksi, _context, ks, data): # get id-block and path info # NOTE: This assumes that we're dealing with a bone here... id_block, base_path, grouping = get_transform_generators_base_info(data) |