mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
filter-transform: Fix function location
This commit is contained in:
parent
18b3cd30bf
commit
e66acbeb98
1 changed files with 6 additions and 6 deletions
|
@ -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<uint64_t>(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
|
||||
|
|
Loading…
Reference in a new issue