Campbell Barton (campbellbarton) Brecht Van Lommel (brecht)
- Maniphest Tasks
- T58068: Blender 2.8 | Bone layer moving in pose mode causes crash
- rBS3cc0eb36c3c0: Fix T58068: gizmo crash for bone on a disabled armature layer
rB3cc0eb36c3c0: Fix T58068: gizmo crash for bone on a disabled armature layer
I'm not very familiar with the widget code, but I think it's the poll function that is wrong.
It should use bPoseChannel *pchan = BKE_pose_channel_active(ob); and then pchan->bone, rather than arm->act_bone.
In general the way data is retrieved in poll functions should match the other functions.