diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-09-18 13:45:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-09-21 13:23:30 +0300 |
commit | 3791dbea1e796f96440437333e4318066f26bde2 (patch) | |
tree | 9ef1f73ece710f8305bb050936c85763c02072a9 /source/blender/blenloader/intern | |
parent | abc90d6b036dce1b5003d487a266b8d48126fa1c (diff) |
Fix T79965: mesh.transform() modifies referenced layers
Originally was noticed when transforming mesh created by
object.to_mesh() from an object without modifier, in which case the
result references CustomData layers used by the object itself.
The issue goes a bit deeper: mesh.transform() should never modify
referenced layers, hence it should duplicate referenced layers.
This fix changes one specific aspect of the reported behavior. The
case where vertices coordinates are modified manually will still have
affect on the source mesh (as no referenced CustomData layers are being
duplicated). Proper fix for this case is not yet clear to me.
Differential Revision: https://developer.blender.org/D8939
Diffstat (limited to 'source/blender/blenloader/intern')
0 files changed, 0 insertions, 0 deletions