Fix #121134: Hide Proportional Editing for armature editmode #121205

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:121134 into main 2024-05-02 09:23:21 +02:00

2 Commits

Author SHA1 Message Date
Philipp Oeser 75123627c8 Check context.mode for 'EDIT_ARMATURE' instead 2024-04-29 14:23:02 +02:00
Philipp Oeser 1abec12dba Fix #121134: Hide Proportional Editing for armature editmode
When transforming, both `TransConvertType_EditArmature` /
`TransConvertType_Pose` get disabled from proportional editing
(`TransInfo` gets flagged `CTX_NO_PET` in `init_proportional_edit`).
This is intentional.

UI checks the mode and showing proportional editing properties was
already skipped for 'POSE' mode, but armatures in 'EDIT' mode would
still show them.

To resolve, also skip the UI for armatures in 'EDIT' mode .
2024-04-29 12:37:00 +02:00