mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08: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:
@@ -92,8 +92,8 @@ struct SavedProjectorInfo {
|
||||
struct SourceCopyInfo {
|
||||
OBSWeakSource weak_source;
|
||||
bool visible;
|
||||
std::shared_ptr<obs_sceneitem_crop> crop;
|
||||
std::shared_ptr<obs_transform_info> transform;
|
||||
obs_sceneitem_crop crop;
|
||||
obs_transform_info transform;
|
||||
};
|
||||
|
||||
struct QuickTransition {
|
||||
|
||||
Reference in New Issue
Block a user