frontend: Make sure all scene item properties are copied#12618
frontend: Make sure all scene item properties are copied#12618RytoEX merged 1 commit intoobsproject:masterfrom
Conversation
|
This changes the copy paste behavior. Before this change you could copy a scene item, move it to a new position and paste on the original position. With this change all changes done on the scene item after the copy are also in the paste. This pull request has a merge conflict with #8286, depending on which gets merged first the other pull request needs updating. Instead of |
7502bc5 to
fd867f2
Compare
|
Updated to use the original way the scene items were copied, like @exeldro suggested. |
Warchamp7
left a comment
There was a problem hiding this comment.
Tested and confirmed that scale filtering and show/hide transitions are properly copied now.
The logic for show/hide transitions will need to be adjusted though. Copying the transition UUIDs means if those transitions change between copying and pasting, the data gets lost.
Ex.
- Set Show/Hide transitions on a source to Fade
- Copy the scene item
- Change the Show/Hide transitions on the source to another type
- Paste the scene item
The pasted scene item will not have any Show/Hide transitions because the copied UUIDs will be gone now.
fd867f2 to
53cbd76
Compare
|
Updated to fix issue @Warchamp7 brought up and also made sure private settings (item color) were copied. |
Scale filtering, show/hide transitions and private settings were not copied when copying scene items.
53cbd76 to
d977833
Compare
Description
Scale filtering, show/hide transitions and private settings (item color) were not copied when copying scene items.
Motivation and Context
Idea from @Warchamp7
How Has This Been Tested?
Copied sources and made sure all properties were copied
Types of changes
Checklist: