Blender Git Loki

Git Commits -> Revision 3791dbe

Revision 3791dbe by Sergey Sharybin (master)
September 21, 2020, 10:23 (GMT)
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:

Commit Details:

Full Hash: 3791dbea1e796f96440437333e4318066f26bde2
Parent Commit: abc90d6
Lines Changed: +5, -2

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020