Blender Git Loki

Git Commits -> Revision 6f5aacb

Revision 6f5aacb by Sergey Sharybin (temp-T78835)
July 30, 2020, 10:44 (GMT)
Allows to preserve UUIDs on copy, outside of copy-on-write

Could be useful for clipboard implementation where, for example, strips
live outside of any reachable database. The UUID will be generated on
paste, so there is no need to generate new UUID on copy.

While generating UUID is almost harmless, incrementing global counter
increases chance of overflowing the integer sooner.

This changes makes it possible to solve issue when user opens .blend
file with strips, which will generated UUIDs in the lower part of the
integer, and then holds Ctrl-C for a very long time.

Commit Details:

Full Hash: 6f5aacb6d9734d696622001de3392f07635e84c1
Parent Commit: b95d698
Lines Changed: +8, -5

2 Modified Paths:

/source/blender/blenkernel/BKE_lib_id.h (+7, -1) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021