Blender Git Loki

Git Commits -> Revision 44ca0a4

Revision 44ca0a4 by Joshua Leung (master)
July 3, 2012, 13:47 (GMT)
Fix for the "black F-Curves" bug on undo
(From personal stash of bugs - since early 2.5 versions)

F-Curve colors get applied only on Graph Editor "refresh()". In some cases, undo
was reverting back to a state where the colors had not yet been set. In these
cases, there would be no refresh() after that undo (until expanding a channel or
some other similar action), resulting in "black F-Curves" appearing. So, now we
force such an update after undo to ensure that the curves never display black.

(Noticed while investigating another bug for Mango related to
CLIP_OT_constraint_to_fcurve not sending notifiers required when new F-Curves
are added)

Commit Details:

Full Hash: 44ca0a43287020747db479a2206c6b2587547e59
SVN Revision: 48536
Parent Commit: 69ca014
Lines Changed: +16, -3

2 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+7, -2) (Diff)
/source/blender/editors/space_graph/space_graph.c (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021