Blender Git Loki

Git Commits -> Revision a0cdebd

Revision a0cdebd by Bastien Montagne (master)
August 30, 2016, 18:38 (GMT)
Fix bad usercount handling of materials in BKE_mesh_new_from_object().

Curves and meshes (when no modifier application required) would increase their material usercount twice.

Not sure how/why it worked in previous code, but with new, stricter ID handling we need more
careful check of ID 'ownership' handling.

Reported by Sergey over IRC, thanks.

Commit Details:

Full Hash: a0cdebde115a7e9f5b217133432957f86539d29d
Parent Commit: 7aedd0e
Lines Changed: +16, -6

1 Modified Path:

/source/blender/blenkernel/intern/mesh.c (+16, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021