Blender Git Loki

Blender Git "transform_mirror_axis" branch commits.

September 10, 2019, 19:12 (GMT)
Move all CustomData correction logic used on Edge/Vert Slide to `transform_convert_mesh.c`

And apply changes to mirror elements
September 10, 2019, 14:57 (GMT)
Rename `TransDataMirror` members and use bitfield for sign
September 10, 2019, 14:57 (GMT)
Cleanup: Use more descriptive variable names
September 10, 2019, 14:57 (GMT)
EditMesh support mirror on all axes

Part of T68930

This patch adds two more mirror options that can be enabled simultaneously: Mirror Y and Z.

Since different transformation options use their own mirroring code (eg edge / vert slide and proportional editing), this patch proposes a generic solution that can be applied to any transformation.

The idea is to create a new array type that points to the location of each reference element with the mirror element location.

This reduces the amount of `TransData` that is already overkill.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D5720
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019