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.
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.