mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-24 06:08:43 -05:00
UI: Remove unnecessary shared_ptr allocations
Not sure why these were separate allocations -- the data will be preserved just fine when copying the structure without being separate allocations
This commit is contained in:
@@ -431,6 +431,5 @@ void OBSBasicSourceSelect::SourcePaste(SourceCopyInfo &info, bool dup)
|
||||
if (!source)
|
||||
return;
|
||||
|
||||
AddExisting(source, info.visible, dup, info.transform.get(),
|
||||
info.crop.get());
|
||||
AddExisting(source, info.visible, dup, &info.transform, &info.crop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user