diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-07-03 17:47:13 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-07-03 17:47:13 +0400 |
commit | 44ca0a43287020747db479a2206c6b2587547e59 (patch) | |
tree | 12c62f2c41d0ff886bab627be55c8eebb47fae8c /source/blender/blenkernel/BKE_image.h | |
parent | 69ca014d5096329e6f0b54c3e16d654e924c3478 (diff) |
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)
Diffstat (limited to 'source/blender/blenkernel/BKE_image.h')
0 files changed, 0 insertions, 0 deletions