Bugfix #22204: curve modifier onto lamp energy with more than one user of lamp settin...
authorJoshua Leung <aligorith@gmail.com>
Thu, 20 May 2010 05:18:27 +0000 (05:18 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 20 May 2010 05:18:27 +0000 (05:18 +0000)
commit37ecf15f3f43e71de89d7aee57b4938f5d3c1263
tree9b8fdab0d7ad672894b6b268cef1a8fa804c7b94
parent96f529880f69b78f01a479407d6b766c812bb8d5
Bugfix #22204: curve modifier onto lamp energy with more than one user of lamp settings creates two modifiers

This was caused by the multi-user data appearing multiple times in the channel list. Now most editing functions filter out duplicates before doing anything to prevent these problems.

Hopefully the additional cost of filtering the entire list an extra time won't be too much of a speed/mem hit...
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/animation/anim_filter.c
source/blender/editors/include/ED_anim_api.h
source/blender/editors/space_action/action_edit.c
source/blender/editors/space_action/action_select.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_select.c
source/blender/editors/space_graph/space_graph.c