mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
gfx/shader/texture: Fix incorrect placement of modified_type
The previous placement would result in the properties not yet existing.
This commit is contained in:
parent
ba05258547
commit
cce33eef80
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,6 @@ void streamfx::gfx::shader::texture_parameter::properties(obs_properties_t* prop
|
|||
obs_property_set_modified_callback2(p, modified_type, this);
|
||||
obs_property_list_add_int(p, D_TRANSLATE(ST_I18N_TYPE_FILE), static_cast<int64_t>(texture_type::File));
|
||||
obs_property_list_add_int(p, D_TRANSLATE(ST_I18N_TYPE_SOURCE), static_cast<int64_t>(texture_type::Source));
|
||||
modified_type(this, props, p, settings);
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -229,6 +228,8 @@ void streamfx::gfx::shader::texture_parameter::properties(obs_properties_t* prop
|
|||
},
|
||||
obs::source_tracker::filter_scenes);
|
||||
}
|
||||
|
||||
modified_type(this, props, nullptr, settings);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue