Fix T47492: Name is not displayed for newly renamed FCurve, when the path was broken
Thanks Alexander Romanov (a.romanov) for the fix!
This commit is contained in:
parent
e29a5ba617
commit
86c55a18e5
Notes:
blender-bot
2023-02-14 08:58:01 +01:00
Referenced by issue #47492, F-Curves. Restoring animation of linked bone after renaming in source file. Possible fix is attached.
|
@ -4259,6 +4259,13 @@ void ANIM_channel_draw_widgets(const bContext *C, bAnimContext *ac, bAnimListEle
|
|||
|
||||
UI_block_emboss_set(block, UI_EMBOSS_NONE);
|
||||
}
|
||||
else {
|
||||
/* Cannot get property/cannot or rename for some reason, so clear rename index
|
||||
* so that this doesn't hang around, and the name can be drawn normally - T47492
|
||||
*/
|
||||
ac->ads->renameIndex = 0;
|
||||
WM_event_add_notifier(C, NC_ANIMATION | ND_ANIMCHAN, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* step 5) draw mute+protection toggles + (sliders) ....................... */
|
||||
|
|
Loading…
Reference in New Issue