libobs: Set lock state when duplicating scene item
Fixes bug where the lock state wouldn't be copied when duplicating a scene.
This commit is contained in:
parent
d46e8b03c9
commit
fdd34c35fc
@ -1300,6 +1300,7 @@ static inline void duplicate_item_data(struct obs_scene_item *dst,
|
||||
}
|
||||
|
||||
obs_sceneitem_set_crop(dst, &src->crop);
|
||||
obs_sceneitem_set_locked(dst, src->locked);
|
||||
|
||||
if (defer_texture_update) {
|
||||
os_atomic_set_bool(&dst->update_transform, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user