Blender Git Loki

Git Commits -> Revision 05de43d

Revision 05de43d by Antonio Vazquez (master)
September 19, 2019, 08:38 (GMT)
Fix T70009: GPencil copied layer is linked to its original layer

As the layer and frame memory was duplicated, the pointers were connected to old data. This was solved when saved the file, but this was a bug. Also this required a duplication and clean all listbase items.

Now, instead to duplicate and clear memory for layers and frames, just create a new layer and frame. This solution fix the problem, it's faster and also keeps the code cleaner.

Commit Details:

Full Hash: 05de43d8436895f13142e4e02d3cd13d3a859ace
Parent Commit: 4e9aada
Lines Changed: +19, -20

1 Modified Path:

/source/blender/editors/gpencil/gpencil_data.c (+19, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021