Fix T39851: F-curve noise modifier on a bone: change selection when modifying value
authorJoshua Leung <aligorith@gmail.com>
Thu, 24 Apr 2014 02:26:53 +0000 (14:26 +1200)
committerJoshua Leung <aligorith@gmail.com>
Thu, 24 Apr 2014 02:29:10 +0000 (14:29 +1200)
commit1fabfc9ea2c7b36f0827269fcf07d162a879a227
tree84f3bf68bee9ad2bea375b06fb43d3b4a452a2bf
parent8cee587bcb44b24cc17a9d6527a63d19dade4e5d
Fix T39851: F-curve noise modifier on a bone: change selection when modifying value

When the dopesheet was open, "keyframe edited" events from the graph editor
(i.e. fired whenever any properties on keyframes or FModifiers are changed)
would trigger the dopesheet to synchronise selection states of anim channels
and ensure that FCurve autocolours are initialised correctly.

This however was undesired when editing properties in the graph editor. Now,
made it so that keyframe adding/removing operators use different notifier flags
to specify that the channels might have changed + need colour syncing, and
adjusted the dopesheet updating logic to fit
source/blender/editors/animation/keyframing.c
source/blender/editors/animation/keyingsets.c
source/blender/editors/space_action/action_edit.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_graph/graph_edit.c