| 309 | } |
| 310 | |
| 311 | void Effect::UnsetBatchProcessing() |
| 312 | { |
| 313 | mIsBatch = false; |
| 314 | // Restore effect's internal state from registry |
| 315 | // If effect is not stateful, this call doesn't really matter, and the |
| 316 | // settings object is a dummy |
| 317 | auto dummySettings = MakeSettings(); |
| 318 | // Ignore failure |
| 319 | (void ) LoadUserPreset(GetSavedStateGroup(), dummySettings); |
| 320 | } |
| 321 | |
| 322 | bool Effect::Delegate(Effect &delegate, EffectSettings &settings, |
| 323 | InstanceFinder finder) |