Page MenuHome

Fix T67140: Moving a pose bone doesnt update the bone's transform button props realtime.

Authored by Germano Cavalcante (mano-wii) on Jul 17 2019, 10:57 PM.



A solution similar to rBaa7db99a38ec but now for the transform button props of the bone.

Ref T67140

Diff Detail

rB Blender
Build Status
Buildable 4113
Build 4113: arc lint + arc unit

Event Timeline

It's slightly more correct to tweak buttons_area_listener to redraw the bone properties on ND_POSE, since ND_BONE_ACTIVE is normally meant for when the active bone changes.

Analyzing the code, ND_POSE only redraws the panels of the Object Data tab.
But I don't see anything on the Object Data tab that needs to be updated when transforming.
Imho, WM_event_add_notifier(C, NC_OBJECT | ND_POSE, NULL) could even be removed and instead use either ND_BONE_ACTIVE or ND_BONE_SELECT.

Brecht Van Lommel (brecht) requested changes to this revision.Aug 16 2019, 4:22 PM

ND_BONE_ACTIVE and ND_BONE_SELECT are meant for when the active bone or selection of bones changes.

So, better to tweak buttons_area_listener to handle ND_POSE for this case.

This revision now requires changes to proceed.Aug 16 2019, 4:22 PM