Fix missing array duplication when copying material
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Mar 2018 10:22:47 +0000 (11:22 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Mar 2018 10:22:47 +0000 (11:22 +0100)
commit46a391b668c19ea3053d117dea67386b13904f78
tree4041015a73a02c4be349680a9279395daf95d9e9
parent8e5c407fc446b35042c626e7d60ff9a2336093f4
Fix missing array duplication when copying material

Texture paint slots were copied as a pointer, causing double-free.
source/blender/blenkernel/intern/material.c