Merge pull request #2605 from Gobbel2000/frame_paste

Include images and saved meshes when pasting `Frame`
This commit is contained in:
Héctor 2024-09-24 22:59:57 +02:00 committed by GitHub
commit 3c68b64cbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -395,6 +395,7 @@ impl geometry::frame::Backend for Frame {
}
fn paste(&mut self, frame: Frame) {
self.meshes.extend(frame.meshes);
self.meshes
.extend(frame.buffers.into_meshes(frame.clip_bounds));