Blender Git Commit Log

Git Commits -> Revision bd80ace

Revision bd80ace by Dalai Felinto (master)
December 26, 2017, 15:31 (GMT)
Depsgraph: Fix copy-on-write assert when freeing Freestyle config

We were bumping user count when duplicating viewlayer and its freestyleconfig
depending on the flag, however when freeing we were always decreasing user
count.

This fixes this and get rid of the assert when running:
`--factory-startup --enable-copy-on-write`

And closing Blender.

Commit Details:

Full Hash: bd80ace2da72256801ca7579ca92cf4fe7a6a513
Parent Commit: fe1e2c2
Lines Changed: +20, -10

6 Modified Paths:

/source/blender/blenkernel/BKE_freestyle.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_layer.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/freestyle.c (+7, -3) (Diff)
/source/blender/blenkernel/intern/layer.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021