Fix modal key assignment for "Rotate Normals" in keymap versioning

Error in 78943edc5d

The key was not included in the appropriate condition block, leading to
an error.
This commit is contained in:
Germano Cavalcante 2023-11-13 09:47:10 -03:00
parent 523ea86b93
commit c6db3f98bb
3 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ def keyconfig_update(keyconfig_data, keyconfig_version):
elif item_modal == 'ROTATE':
km_items.append(('TRACKBALL', item_event, None))
# The modal key for "Rotate Normals" also didn't exist until then.
km_items.append(('ROTATE_NORMALS', {"type": 'N', "value": 'PRESS'}, None))
# The modal key for "Rotate Normals" also didn't exist until then.
km_items.append(('ROTATE_NORMALS', {"type": 'N', "value": 'PRESS'}, None))
if keyconfig_version <= (4, 0, 3):
if not has_copy: