diff --git a/source/filters/filter-transform.cpp b/source/filters/filter-transform.cpp index f141a03c..52ff5034 100644 --- a/source/filters/filter-transform.cpp +++ b/source/filters/filter-transform.cpp @@ -113,12 +113,6 @@ transform::transform_instance::~transform_instance() _mipmap_texture.reset(); } -void transform::transform_instance::load(obs_data_t* settings) -{ - migrate_settings(settings); - update(settings); -} - inline void migrate_settings(obs_data_t* settings) { uint64_t version = static_cast(obs_data_get_int(settings, S_VERSION)); @@ -132,6 +126,12 @@ inline void migrate_settings(obs_data_t* settings) obs_data_set_int(settings, S_VERSION, STREAMFX_VERSION); } +void transform::transform_instance::load(obs_data_t* settings) +{ + migrate_settings(settings); + update(settings); +} + void transform::transform_instance::update(obs_data_t* settings) { // Camera