Simplified GRAPH_OT_driver_delete_invalid after feedback @aligorith
authorSybren A. Stüvel <sybren@stuvel.eu>
Wed, 17 Jan 2018 11:38:14 +0000 (12:38 +0100)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 17 Jan 2018 11:38:14 +0000 (12:38 +0100)
commit0aaae43748205a4945fd8a1588a2f118a6d4edad
treef665495e2b19ab8332f3f9e6df8b6d852977fbcb
parentc38ebf93e356a97b3013b075e1d98268df891809
Simplified GRAPH_OT_driver_delete_invalid after feedback @aligorith

By adding the ANIMFILTER_NODUPLIS flag to the filter it'll only be
processing each F-Curve once, which means we can remove while iterating.

This also solves a potential issue when a datablock has a driver and is
shared among multiple objects.
source/blender/editors/space_graph/graph_edit.c