From e66acbeb98341e41a024c8067efed53a2a31fcd9 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 28 Mar 2020 16:24:26 +0100 Subject: [PATCH] filter-transform: Fix function location --- source/filters/filter-transform.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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