Blender Git Commit Log
Git Commits -> Revision d62a749
Revision d62a749 by Bastien Montagne (master) June 3, 2019, 19:00 (GMT) |
Fix T65352: bpy.data.meshes.new_from_object() doesn't increment user count for materials referenced by the mesh. We cannot do refcount operations in a non-Main ID, this is forbidden. While that whole func could probably use some love and refactor, for now sticking to minimal changes and just moving refcounting op after mesh has been transferred to Main database. |
Commit Details:
Full Hash: d62a749fcf4848958d748a4d5ef5c4f1172cd351
Parent Commit: 0ee7569
Lines Changed: +25, -9
1 Modified Path:
/source/blender/blenkernel/intern/mesh_convert.c (+25, -9) (Diff)