Mesh flatten toggle keymap clashes with power mode #5

Closed
opened 2024-08-28 16:38:18 +02:00 by Spencer Magnusson · 0 comments

The keymap is too vague with the flatten toggle, so it doesn't get picked up in favor of power mode. Could explicitly add shift set to false:

'FLATTEN_TOGGLE': {
        'type': 'F',
        'value': 'PRESS',
        'shift': False,  # prevent clashing with others
},

Might be worth adding a unit test that checks for clashes like this, so they're less likely to happen. Would need to be aware of which keys are used per tool, as the mesh flag tool doesn't use the size mode (which it would otherwise clash with).

The keymap is too vague with the flatten toggle, so it doesn't get picked up in favor of power mode. Could explicitly add shift set to false: ```py 'FLATTEN_TOGGLE': { 'type': 'F', 'value': 'PRESS', 'shift': False, # prevent clashing with others }, ``` Might be worth adding a unit test that checks for clashes like this, so they're less likely to happen. Would need to be aware of which keys are used per tool, as the mesh flag tool doesn't use the size mode (which it would otherwise clash with).
Spencer Magnusson added the
bug
label 2024-08-28 16:38:18 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SMagnusson/light-painter#5
No description provided.