diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-03 21:59:13 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-03 22:00:44 +0300 |
commit | d62a749fcf4848958d748a4d5ef5c4f1172cd351 (patch) | |
tree | a1dab20a86e6bd9b9b2d6b6dbd48f998b006b555 /source/blender/collada/BCMath.h | |
parent | 0ee75698d05e62df17f88499bc05953f9882c264 (diff) |
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.
Diffstat (limited to 'source/blender/collada/BCMath.h')
0 files changed, 0 insertions, 0 deletions